[LLVMdev] optimize for size
Evan Cheng
evan.cheng at apple.com
Mon May 27 22:48:18 PDT 2013
I don't quite understand your question. Clang already supports -Os option.
Evan
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.
>
> Tia.
>
> Reed
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list