aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-17 20:15:53 +0000
committerDan Gohman <gohman@apple.com>2010-09-17 20:15:53 +0000
commit80d6c96c2ac403e5994841de6b367ded9dbee99b (patch)
tree0adf804bdaa47b42bc5aba0c6c96559321a1474a
parentc6ce9d65cdbc8a8a33a67b9071c40a06fd78ebea (diff)
Fix this test so that folding doesn't depend on a potentially
"inexact" result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114198 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Transforms/InstCombine/fold-calls.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/fold-calls.ll b/test/Transforms/InstCombine/fold-calls.ll
index 2b11771969..504f874bea 100644
--- a/test/Transforms/InstCombine/fold-calls.ll
+++ b/test/Transforms/InstCombine/fold-calls.ll
@@ -10,9 +10,9 @@ define double @foo() {
; This should fold.
; CHECK: @bar
-; CHECK: ret double 0x3FDA6026360C2F91
+; CHECK: ret double 0.0
define double @bar() {
- %t = call double @sin(double 9.0)
+ %t = call double @sin(double 0.0)
ret double %t
}