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
This commit is contained in:
Dan Gohman 2010-09-17 20:15:53 +00:00
parent c6ce9d65cd
commit 80d6c96c2a

View 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
}