[LLVMdev] Disabling certain optimizations at -O1?

Renato Golin renato.golin at linaro.org
Tue Dec 3 01:28:44 PST 2013


On 3 December 2013 09:02, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
> I'm not sure I follow. By #pragma, do you mean a C-level thing? By
> table of flags, some hypothetical place where the proposed
> "Simple|Speed|Space|Aggressive" setting lives, accessible by IR
> passes?

Yes.


> Sounds like what Philip needs is a more specific
> PreserveStackTraces setting in the same place, that's on by default at
> -O1, and overridable by some find of -fpreserve-stack-traces Clang
> command-line flag.

I see, I seem to have overestimated his needs. ;)

cheers,
--renato



More information about the llvm-dev mailing list