Displaying 3 results from an estimated 3 matches for "zide".
Did you mean:
side
2018 Aug 17
2
Replication -O3 optimizations manually
Hi Zide,
I think I found the right way to reach my goal.
I used the following command:
clang -O3 -Xclang -disable-llvm-optzns main.c -S -emit-llvm -o main.ll
to generate an IR file enriched by all the metadata that otherwise wouldn't be generated with -O0. Moreover, -disable-llvm-optzns flag ensure...
2018 Aug 17
4
Replication -O3 optimizations manually
...et-dependent passes.
However, when I use lli to execute bitcode generated by opt with -O3 or with the same optimization passes as -O3, the performance are still different.
So, are there some special operations by -O3 option? I read the source code of opt, but I cannot find the reason.
Best regards
Zide
At 2018-08-16 22:13:14, "Stefano Cherubin via llvm-dev" <llvm-dev at lists.llvm.org> wrote:
Hello Emanuele,
When you provide the optimization level -O3 to the clang driver, it does not simply schedule a sequence of passes to be run on the intermediate representation.
Indeed, it...
2018 Aug 16
2
Replication -O3 optimizations manually
Hello llvm-dev,
my name is Emanuele and I am an intern in ARM. As part of the project I am doing here, I would like to manually replicate the optimizations that LLVM applies when I type -O3. In other words, I would like to know what are the compilation flags/passes that -O3 triggers.
I noticed that GCC reports, on its website, all the flags that are enforced by -O3