<div dir="ltr"><div>Hi cfe-dev!</div><div><br></div><div>Following the talk by Greg Bedwell at the EuroLLVM conference, which reiterated the need for a range-based solution to selectively disable optimizations (see <a href="http://llvm.org/devmtg/2014-04/PDFs/Talks/GBedwell_PS4CPUToolchain_EuroLLVM2014_distribution.pdf">http://llvm.org/devmtg/2014-04/PDFs/Talks/GBedwell_PS4CPUToolchain_EuroLLVM2014_distribution.pdf</a> from slide 80), we are now proposing a range-based pragma that decorates function definitions in the range with the 'optnone' attribute.</div>
<div><br></div><div>Proposals like this one have not received much attention in the past, but we are still keen to work with the community on this.</div><div><br></div><div>The attached HTML file describes our intentions for the "#pragma clang optnone" feature. There is no implementation yet, but we think the feature can be easily implemented on top of the existing 'optnone' infrastructure. We would however like to fix things like the syntax and the semantics before we start working on it.</div>
<div><br></div><div>We would greatly appreciate any feedback on the spec.</div><div><br></div><div>Cheers,</div><div>    Dario Domizioli</div><div>    SN Systems - Sony Computer Entertainment Group</div><div><br></div><div>
<br></div></div>