[cfe-dev] [LLVMdev] [PROPOSAL] per-function optimization level control

Dallman, John john.dallman at siemens.com
Fri Jun 14 02:04:33 PDT 2013


> 1) it should not be used as a mechanism to triage compiler bugs -- the
> compiler backend should have mechanism to allow any pass to be
> disabled for any (range of) function(s) via command line options so
> that it can be automated -- you should not expect doing this via
> source modification

That would be just fine; I'm not seeking pragmas specifically, just a
way to control optimisation with finer distinction than a whole file.

> 3) there is a much bigger issue if the customer needs to resort to
> this pragmas frequently to hide optimizer bugs.

I'm not using them to hide optimise bugs, but to help isolate them so
that they can be reported effectively.

--
John Dallman

-----------------
Siemens Industry Software Limited is a limited company registered in England and Wales.
Registered number: 3476850.
Registered office: Faraday House, Sir William Siemens Square, Frimley, Surrey, GU16 8QD.




More information about the cfe-dev mailing list