[llvm-commits] [llvm] r114198 - /llvm/trunk/test/Transforms/InstCombine/fold-calls.ll
Dan Gohman
gohman at apple.com
Fri Sep 17 13:15:53 PDT 2010
Author: djg
Date: Fri Sep 17 15:15:53 2010
New Revision: 114198
URL: http://llvm.org/viewvc/llvm-project?rev=114198&view=rev
Log:
Fix this test so that folding doesn't depend on a potentially
"inexact" result.
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=114198&r1=114197&r2=114198&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/fold-calls.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/fold-calls.ll Fri Sep 17 15:15:53 2010
@@ -10,9 +10,9 @@
; 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
}
More information about the llvm-commits
mailing list