summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/logical-select.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-11-16 04:21:51 +0000
committerChris Lattner <sabre@nondot.org>2008-11-16 04:21:51 +0000
commit6093b36f47b31819b9e25b22c26adad31562c7c6 (patch)
tree496045705ad81b8a4e522c89f404ea9df9cc1829 /test/Transforms/InstCombine/logical-select.ll
parent2c228834fc226619c25a678394bab73dd1b1f85d (diff)
downloadllvm-6093b36f47b31819b9e25b22c26adad31562c7c6.tar.gz
llvm-6093b36f47b31819b9e25b22c26adad31562c7c6.tar.bz2
llvm-6093b36f47b31819b9e25b22c26adad31562c7c6.tar.xz
make this actually test what it is trying to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/logical-select.ll')
-rw-r--r--test/Transforms/InstCombine/logical-select.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Transforms/InstCombine/logical-select.ll b/test/Transforms/InstCombine/logical-select.ll
index 39702d390a..ffdaa91454 100644
--- a/test/Transforms/InstCombine/logical-select.ll
+++ b/test/Transforms/InstCombine/logical-select.ll
@@ -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 @@ entry:
%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