From 1e962f250bf2f9f94d7692b279860f0ed6bb00ca Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Wed, 11 Apr 2012 23:11:33 +0000 Subject: [PATCH] Fix string that is being checked. llvm-svn: 154547 --- llvm/test/CodeGen/Mips/fneg.ll | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/llvm/test/CodeGen/Mips/fneg.ll b/llvm/test/CodeGen/Mips/fneg.ll index 162146f18313..303a94950c6a 100644 --- a/llvm/test/CodeGen/Mips/fneg.ll +++ b/llvm/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 }