[LLVMdev] Disable optimization

RAAD B raad_7007 at yahoo.com
Thu Nov 27 06:14:31 PST 2008


Hello together,

although i use the "-O0" flag as follow, the llvm perform dead code elimination.
How can i disable optimizing completely?

KR
Raad

llvm-gcc -O0 -emit-llvm main.cpp -S  -o main.s



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081127/c4ef8aac/attachment.html>


More information about the llvm-dev mailing list