Displaying 1 result from an estimated 1 matches for "final_opt".
Did you mean:
final_dt
2008 Sep 29
1
[LLVMdev] llvm-gcc : why no optimization?
...g compile a small C program
with it.
This is what I did:
1. Wrote a simple C program with some dead code.
2. compiled it with llvm-gcc. [$ llvm-gcc -emit-llvm -S deadc.c]
3. Fetched it to assembler. [$ llvm-as deadc.s]
4. [$ opt -analyze -ade deadc.s.bc] [Ran without -analyze switch also: $opt
-o final_opt -verify-each -globaldce -f deadc.s]
Here I always get the message "Printing analysis 'Dead Global
Elimination':
Pass::print not
implemented for pass: 'Dead Global Elimination'!"
5. Now after step 4, I get a final bin...