Displaying 1 result from an estimated 1 matches for "deadc".
Did you mean:
dead
2008 Sep 29
1
[LLVMdev] llvm-gcc : why no optimization?
Hi all,
I am a newbie to LLVM and tried experimenting 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':...