diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-04-11 23:11:33 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-04-11 23:11:33 +0000 |
commit | 55e0e43e4fc10fab3e3f8be88e4c6cc715f294ff (patch) | |
tree | 0833ae30eff414d49c3d3a26bb029f83968a6b87 | |
parent | 1cc6333161be8bbeb516bc7c74d4400dca58b997 (diff) | |
download | external_llvm-55e0e43e4fc10fab3e3f8be88e4c6cc715f294ff.zip external_llvm-55e0e43e4fc10fab3e3f8be88e4c6cc715f294ff.tar.gz external_llvm-55e0e43e4fc10fab3e3f8be88e4c6cc715f294ff.tar.bz2 |
Fix string that is being checked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154547 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/Mips/fneg.ll | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/Mips/fneg.ll b/test/CodeGen/Mips/fneg.ll index 162146f..303a949 100644 --- a/test/CodeGen/Mips/fneg.ll +++ b/test/CodeGen/Mips/fneg.ll @@ -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 { entry: -; CHECK-NOT: fabs.s +; CHECK-NOT: neg.s %sub = fsub float -0.000000e+00, %d ret float %sub } define double @foo1(i32 %a, double %d) nounwind readnone { entry: -; CHECK: foo1 -; CHECK-NOT: fabs.d -; CHECK: jr +; CHECK: foo1 +; CHECK-NOT: neg.d +; CHECK: jr %sub = fsub double -0.000000e+00, %d ret double %sub } |