diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-12-01 05:16:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-12-01 05:16:26 +0000 |
| commit | 9e6b24342874a84186c38ba1ea98dc772921b92e (patch) | |
| tree | 9905eb896ef774aadb6f3077ec49807639ed1780 /llvm/test/Transforms/InstCombine/and-not-or.ll | |
| parent | 88a1f0213dcf303ab8cd11e0ad052dfefcc0dce0 (diff) | |
| download | bcm5719-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/Transforms/InstCombine/and-not-or.ll')
| -rw-r--r-- | llvm/test/Transforms/InstCombine/and-not-or.ll | 4 |
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 { |

