[LLVMdev] optimize for size
rkotler at mips.com
Mon May 27 22:49:38 PDT 2013
On 05/27/2013 10:48 PM, Evan Cheng wrote:
> I don't quite understand your question. Clang already supports -Os option.
Do I need to add anything to the llc command line?
> Sent from my iPad
> On May 27, 2013, at 7:47 PM, reed kotler <rkotler at mips.com> wrote:
>> I'm trying to set the default optimizations for mips16.
>> Mips16 is a processor mode for code size compression.
>> So for clang I want to add -Os, I think.
>> In general I don't want the compiler to automatically inline, I think.
>> I assume that clang would do some trivial inlines but have not checked.
>> Anything else I should add to clang?
>> What about LLVM?
>> There is no -Os there.
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev