[llvm-commits] [llvm] r154547 - /llvm/trunk/test/CodeGen/Mips/fneg.ll

Akira Hatanaka ahatanaka at mips.com
Wed Apr 11 16:11:34 PDT 2012


Author: ahatanak
Date: Wed Apr 11 18:11:33 2012
New Revision: 154547

URL: http://llvm.org/viewvc/llvm-project?rev=154547&view=rev
Log:
Fix string that is being checked.


Modified:
    llvm/trunk/test/CodeGen/Mips/fneg.ll

Modified: llvm/trunk/test/CodeGen/Mips/fneg.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Mips/fneg.ll?rev=154547&r1=154546&r2=154547&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Mips/fneg.ll (original)
+++ llvm/trunk/test/CodeGen/Mips/fneg.ll Wed Apr 11 18:11:33 2012
@@ -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
 }





More information about the llvm-commits mailing list