[cfe-dev] Fwd: Clang equivalent of given flags

Tim Northover via cfe-dev cfe-dev at lists.llvm.org
Sun Jul 30 20:54:52 PDT 2017


On 30 July 2017 at 15:55, Grang, Mandeep Singh via cfe-dev
<cfe-dev at lists.llvm.org> wrote:
> You can use -mllvm -inline-threshold=<value> as a replacement for
> -finline-limit=<value>. I am not sure if there is a replacement for
> -finline_functions_called_once.

We generally don't have options to control the optimizers that
precisely. Even the threshold one you found is an LLVM internal option
and not guaranteed to be stable. It could disappear or arbitrarily
change its meaning at any point.

Tim.



More information about the cfe-dev mailing list