[LLVMdev] Disabling certain optimizations in llvm-gcc and llc

Anton Korobeynikov anton at korobeynikov.info
Wed Sep 7 07:10:35 PDT 2011


Hello

> 2. sizeof's being resolved to literals already at the llvm-gcc front end
> stage when emitting IR, no matter if I use -O0 flag Is there any way to
> prevent it?
No. It's performed even before IR emission.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list