summaryrefslogtreecommitdiffstats
path: root/llvm/test
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
commit9e6b24342874a84186c38ba1ea98dc772921b92e (patch)
tree9905eb896ef774aadb6f3077ec49807639ed1780 /llvm/test
parent88a1f0213dcf303ab8cd11e0ad052dfefcc0dce0 (diff)
downloadbcm5719-llvm-9e6b24342874a84186c38ba1ea98dc772921b92e.tar.gz
bcm5719-llvm-9e6b24342874a84186c38ba1ea98dc772921b92e.zip
simplify these patterns using m_Specific. No need to grep for
xor in testcase (or is a substring). llvm-svn: 60328
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/InstCombine/and-not-or.ll4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/test/Transforms/InstCombine/and-not-or.ll b/llvm/test/Transforms/InstCombine/and-not-or.ll
index b183b216e9d..9e9f397c4be 100644
--- a/llvm/test/Transforms/InstCombine/and-not-or.ll
+++ b/llvm/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 {
OpenPOWER on IntegriCloud