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

Chris Lattner clattner at apple.com
Fri Sep 17 17:44:08 PDT 2010


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.

-Chris

> 
> Modified:
>    llvm/trunk/test/Transforms/InstCombine/fold-calls.ll
> 
> Modified: llvm/trunk/test/Transforms/InstCombine/fold-calls.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/fold-calls.ll?rev=114241&r1=114240&r2=114241&view=diff
> ==============================================================================
> --- llvm/trunk/test/Transforms/InstCombine/fold-calls.ll (original)
> +++ llvm/trunk/test/Transforms/InstCombine/fold-calls.ll Fri Sep 17 19:04:37 2010
> @@ -1,5 +1,9 @@
> ; RUN: opt -instcombine -S < %s | FileCheck %s
> 
> +; This test is inexplicably still failing, which suggests a
> +; bug in the host libm.
> +; XFAIL: arm-linux
> +
> ; This shouldn't fold, because sin(inf) is invalid.
> ; CHECK: @foo
> ; CHECK:   %t = call double @sin(double 0x7FF0000000000000)
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list