Fix this test so that folding doesn't depend on a potentially
authorDan Gohman <gohman@apple.com>
Fri, 17 Sep 2010 20:15:53 +0000 (20:15 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 17 Sep 2010 20:15:53 +0000 (20:15 +0000)
"inexact" result.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114198 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/fold-calls.ll

index 2b11771969f17dc7b7ccb36fa7f74eeabbfb4a02..504f874beaebf134e414bba2f5f8821350c9b1d6 100644 (file)
@@ -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
 }