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

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed May 29 08:04:47 PDT 2013

> Wasn't this already proposed?
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-January/058112.html
> LLVM already has optsize.  Maybe it's just a matter of hooking up gcc's
> attr(optimize) to it in clang, as a first approximation.

Looks like it, yes!

Chandler, what were you thoughts on the pass manager? Should it select
the set of passes for a function based on the function's attributes?


More information about the cfe-dev mailing list