convert to filecheck.
authorChris Lattner <sabre@nondot.org>
Thu, 11 Feb 2010 06:24:37 +0000 (06:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 11 Feb 2010 06:24:37 +0000 (06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95854 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/and2.ll

index 0af9bfaff3941f1013116826d0ca75213a643bdf..a5a6574e9f46b05880a14f48986e45093ed2bd01 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: opt < %s -instcombine -S | not grep and
-
+; RUN: opt < %s -instcombine -S | FileCheck %s
 
 ; PR1738
 define i1 @test1(double %X, double %Y) {
@@ -7,6 +6,5 @@ define i1 @test1(double %X, double %Y) {
         %tmp13 = fcmp ord double %Y, 0.000000e+00
         %bothcond = and i1 %tmp13, %tmp9
         ret i1 %bothcond
+; CHECK:  fcmp ord double %Y, %X
 }
-
-