summaryrefslogtreecommitdiff
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-01 05:16:26 +0000
committerChris Lattner <sabre@nondot.org>2008-12-01 05:16:26 +0000
commitd8aafcb200bf413a5f477148b7f4ff6d6ea31e2d (patch)
treefbb9255fea0e48804e57185bb280b74ac8b7fb96 /test/Transforms
parentef0c6744d5050ad724e1ae90e6ac2b932ce01e13 (diff)
downloadllvm-d8aafcb200bf413a5f477148b7f4ff6d6ea31e2d.tar.gz
llvm-d8aafcb200bf413a5f477148b7f4ff6d6ea31e2d.tar.bz2
llvm-d8aafcb200bf413a5f477148b7f4ff6d6ea31e2d.tar.xz
simplify these patterns using m_Specific. No need to grep for
xor in testcase (or is a substring). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/and-not-or.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Transforms/InstCombine/and-not-or.ll b/test/Transforms/InstCombine/and-not-or.ll
index b183b216e9..9e9f397c4b 100644
--- a/test/Transforms/InstCombine/and-not-or.ll
+++ b/test/Transforms/InstCombine/and-not-or.ll
@@ -1,6 +1,4 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %y, %x} | count 2
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %x, %y} | count 2
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {xor}
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {and i32 %x, %y} | count 4
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep {or}
define i32 @func1(i32 %x, i32 %y) nounwind {