[LLVMdev] Optimization for size

James Molloy james.molloy at arm.com
Mon Oct 17 07:58:40 PDT 2011


Hi,

 

Looking at bugzilla PR11087, I'd like to conditionalise a transformation in
ARMIselLowering.cpp based on whether we're compiling for codesize or
performance.

 

-Os doesn't actually exist for llc, and I can't see an obvious place where
that condition would be set. Where do we specify if we're optimizing for
codesize or performance?

 

Cheers,

 

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


More information about the llvm-dev mailing list