1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix string that is being checked.

llvm-svn: 154547
This commit is contained in:
Akira Hatanaka 2012-04-11 23:11:33 +00:00
parent 48dbb62cb1
commit 991d556243

View File

@ -1,17 +1,18 @@
; RUN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s ; RUN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s -check-prefix=NAN
; RUN: llc < %s -march=mipsel -mcpu=mips32 -enable-no-nans-fp-math | FileCheck %s -check-prefix=NO-NAN
define float @foo0(i32 %a, float %d) nounwind readnone { define float @foo0(i32 %a, float %d) nounwind readnone {
entry: entry:
; CHECK-NOT: fabs.s ; CHECK-NOT: neg.s
%sub = fsub float -0.000000e+00, %d %sub = fsub float -0.000000e+00, %d
ret float %sub ret float %sub
} }
define double @foo1(i32 %a, double %d) nounwind readnone { define double @foo1(i32 %a, double %d) nounwind readnone {
entry: entry:
; CHECK: foo1 ; CHECK: foo1
; CHECK-NOT: fabs.d ; CHECK-NOT: neg.d
; CHECK: jr ; CHECK: jr
%sub = fsub double -0.000000e+00, %d %sub = fsub double -0.000000e+00, %d
ret double %sub ret double %sub
} }