[LLVMdev] [cfe-dev] computing a conservatively rounded square of a double

Robinson, Paul Paul_Robinson at playstation.sony.com
Thu Mar 27 08:46:43 PDT 2014


While I did propose a patch to add this attribute to Clang, and it was approved, I never committed it because the LLVM work to fully support it has been dangling in nobody-wants-to-review-it limbo forever.  And it seemed like I shouldn't put the attribute into Clang if LLVM didn't fully honor the contract.

I'll redo the Clang part (Aaron Ballman has refactored the attribute-handling stuff about a hundred times since I did the original patch so it no longer applies) and hopefully get that into Clang soon.
Thanks,
--paulr

Geoffrey - In the short term, if you marked this function as "__attribute__((optnone))", that might have the effect you desire.  See http://clang-developers.42468.n3.nabble.com/RFC-add-Function-Attribute-to-disable-optimization-td4032641.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140327/da8e9d1e/attachment.html>


More information about the llvm-dev mailing list