[llvm-commits] [llvm] r114241 - /llvm/trunk/test/Transforms/InstCombine/fold-calls.ll

Dan Gohman gohman at apple.com
Fri Sep 17 18:26:30 PDT 2010


On Sep 17, 2010, at 5:44 PM, Chris Lattner wrote:

> 
> On Sep 17, 2010, at 5:04 PM, Dan Gohman wrote:
> 
>> Author: djg
>> Date: Fri Sep 17 19:04:37 2010
>> New Revision: 114241
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=114241&view=rev
>> Log:
>> Attempt to XFAIL this test on arm-linux, which is inexplicably failing.
> 
> Dan, why are you relying on the host's libm to do this anyway?  Why not just check the apfloat for inf?  Depending on this level of sanity from a host libm seems like a bad idea.

It would be tricky to test for all exceptional cases for all the libm
functions that code knows about.

LLVM's reliance on the host libm goes way back. Alternatives to using the
host libm for constant folding exist, but LLVM has not yet pursued them.

Dan





More information about the llvm-commits mailing list