[LLVMdev] What are the equivalents of gcc inline control options like max-inline-insns-single in clang?

Chris Lattner clattner at apple.com
Sat Feb 19 18:29:18 PST 2011


On Feb 19, 2011, at 6:12 PM, Yuri wrote:

> I got these warnings:
> clang: warning: argument unused during compilation: '-finline-limit=50'
> clang: warning: argument unused during compilation: '--param 
> max-inline-insns-single=50'
> clang: warning: argument unused during compilation: '--param 
> max-inline-insns-auto=12'
> clang: warning: argument unused during compilation: '--param 
> large-function-insns=300'
> clang: warning: argument unused during compilation: '--param 
> large-function-growth=20'
> clang: warning: argument unused during compilation: '--param 
> inline-unit-growth=100'
> 
> These options work with gcc and not with clang.
> What are the clang equivalents?

Clang doesn't expose any equivalent.

-Chris



More information about the llvm-dev mailing list