llvm.org GIT mirror llvm / 55e0e43
Fix string that is being checked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154547 91177308-0d34-0410-b5e6-96231b3b80d8 Akira Hatanaka 8 years ago
1 changed file(s) with 6 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s
0 ; RUN: llc < %s -march=mipsel -mcpu=mips32 | FileCheck %s -check-prefix=NAN
1 ; RUN: llc < %s -march=mipsel -mcpu=mips32 -enable-no-nans-fp-math | FileCheck %s -check-prefix=NO-NAN
12
23 define float @foo0(i32 %a, float %d) nounwind readnone {
34 entry:
4 ; CHECK-NOT: fabs.s
5 ; CHECK-NOT: neg.s
56 %sub = fsub float -0.000000e+00, %d
67 ret float %sub
78 }
89
910 define double @foo1(i32 %a, double %d) nounwind readnone {
1011 entry:
11 ; CHECK: foo1
12 ; CHECK-NOT: fabs.d
13 ; CHECK: jr
12 ; CHECK: foo1
13 ; CHECK-NOT: neg.d
14 ; CHECK: jr
1415 %sub = fsub double -0.000000e+00, %d
1516 ret double %sub
1617 }