[llvm-commits] [llvm] r59386 - /llvm/trunk/test/Transforms/InstCombine/logical-select.ll

Chris Lattner sabre at nondot.org
Sat Nov 15 20:21:53 PST 2008


Author: lattner
Date: Sat Nov 15 22:21:51 2008
New Revision: 59386

URL: http://llvm.org/viewvc/llvm-project?rev=59386&view=rev
Log:
make this actually test what it is trying to.

Modified:
    llvm/trunk/test/Transforms/InstCombine/logical-select.ll

Modified: llvm/trunk/test/Transforms/InstCombine/logical-select.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/InstCombine/logical-select.ll?rev=59386&r1=59385&r2=59386&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/InstCombine/logical-select.ll (original)
+++ llvm/trunk/test/Transforms/InstCombine/logical-select.ll Sat Nov 15 22:21:51 2008
@@ -1,7 +1,7 @@
 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis > %t
-; RUN grep select %t | count 4
-; RUN not grep and %t
-; RUN not grep or %t
+; RUN: grep select %t | count 4
+; RUN: not grep and %t
+; RUN: not grep or %t
 
 define i32 @foo(i32 %a, i32 %b, i32 %c, i32 %d) nounwind {
   %e = icmp slt i32 %a, %b
@@ -31,7 +31,6 @@
   %3 = or i32 %1, %2
   ret i32 %3
 }
-
 define i32 @par(i32 %a, i32 %b, i32 %c, i32 %d) nounwind {
 entry:
   %0 = icmp slt i32 %a, %b





More information about the llvm-commits mailing list