[LLVMdev] Floating point optimizations

Brendan Younger brendan at brendanyounger.com
Tue Aug 5 10:18:09 PDT 2008


Hi,

I have some code which relies on the floating point rounding mode to  
be set to round-to-negative-infinity.  This means that there are some  
floating point optimizations which are legal with the default round-to- 
nearest mode but not with rounding to negative infinity.  Does LLVM  
reorder or otherwise optimize floating point operations?  I've looked  
at the options for "opt" but don't see anything to do with floating  
point so I assume no.

Brendan Younger



More information about the llvm-dev mailing list