[cfe-dev] [PROPOSAL] per-function optimization level control
jonathan.sauer at gmx.de
Sat May 4 22:40:22 PDT 2013
> We've had a high priority feature request from a number of our customers
> provide per-function optimization in our Clang/LLVM compiler.
> I would be interested in working with the community to implement this.
> The idea is to allow the optimization level to be overridden
> for specific functions.
Have you looked at "Noise", presented at this year's European LLVM Conference?
| Noise is a language extension that allows a programmer to create custom optimization
| strategies and apply them to specific code segments. This enables fine-grained control
| over the optimizations applied by the compiler to conveniently tune code without
| actually rewriting it.
This seems to go into the same direction as your proposal. It's not yet open source,
but it's planned: <http://www.cdl.uni-saarland.de/projects/noise/>
More information about the cfe-dev