aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-27 21:29:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-09-27 21:29:20 +0000
commit1f386c4ce1983c448320aecca8d3cd27d1497867 (patch)
tree7e479dcf8dd92df64b3c5faafea45edb94fee80e /test/Transforms/InstCombine
parent376ce97baca2bcf97ab420313a876214cde7f9df (diff)
downloadexternal_llvm-1f386c4ce1983c448320aecca8d3cd27d1497867.zip
external_llvm-1f386c4ce1983c448320aecca8d3cd27d1497867.tar.gz
external_llvm-1f386c4ce1983c448320aecca8d3cd27d1497867.tar.bz2
Don't try to constant fold libm functions with non-finite arguments.
Usually we wouldn't do this anyway because llvm_fenv_testexcept would return an exception, but we have seen some cases where neither errno nor fenv detect an exception on arm-linux. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine')
-rw-r--r--test/Transforms/InstCombine/fold-calls.ll5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/Transforms/InstCombine/fold-calls.ll b/test/Transforms/InstCombine/fold-calls.ll
index fbd09af..504f874 100644
--- a/test/Transforms/InstCombine/fold-calls.ll
+++ b/test/Transforms/InstCombine/fold-calls.ll
@@ -1,10 +1,5 @@
; RUN: opt -instcombine -S < %s | FileCheck %s
-; This test is inexplicably still failing, which suggests a bug in the host
-; libm. It appears that sin(inf) returns NaN without setting a floating point
-; exception.
-; XFAIL: arm-pc-linux-gnu
-
; This shouldn't fold, because sin(inf) is invalid.
; CHECK: @foo
; CHECK: %t = call double @sin(double 0x7FF0000000000000)