[LLVMdev] ConstantFoldBinaryFP and cross compilation

Nick Lewycky nicholas at mxc.ca
Sat Apr 27 11:26:34 PDT 2013


On 04/26/2013 04:20 PM, Owen Anderson wrote:
>
> On Apr 26, 2013, at 3:07 PM, Sergei Larin <slarin at codeaurora.org
> <mailto:slarin at codeaurora.org>> wrote:
>
>> Dan,
>> Thank you for the quick and throughout reply. First paragraph pretty
>> much sums it up. Unless there is more will to guaranty (or provide
>> under flag) stricter version of IEEE adherence, I doubt much can be done.
>> So all of you with picky customers out thereJIs there anyone else that
>> would be concerned about this problem in any of it potential forms?
>
> I have the opposite problem. I have customers who call libm functions
> with constants (or their LLVM intrinsic equivalents) are get very angry
> if they don't get constant folded, and they're not picky at all about
> the precision.

I just want LLVM to behave the same on whatever platform it's run on. 
People already accept that depending on iteration order is a bug, but 
it's been harder to get people to accept that llvm needs bit-exact 
floating point constant folding, especially given the implementation 
difficulty.

Nick



More information about the llvm-dev mailing list