[LLVMdev] optimize for size

reed kotler rkotler at mips.com
Mon May 27 19:47:46 PDT 2013

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.



More information about the llvm-dev mailing list