mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 05:00:39 +00:00
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:
parent
c6ce9d65cd
commit
80d6c96c2a
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user