diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-23 19:05:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-23 19:05:29 +0000 |
commit | 0afcd442a134b165d602e97924ceeb7ebb875a13 (patch) | |
tree | 201b1ab20e37bf8110d0699d43c42c3425281faf /test/Transforms/InstCombine/or.ll | |
parent | 92bdfe6951df4c59be569d9f143190d5eba87305 (diff) | |
download | llvm-0afcd442a134b165d602e97924ceeb7ebb875a13.tar.gz llvm-0afcd442a134b165d602e97924ceeb7ebb875a13.tar.bz2 llvm-0afcd442a134b165d602e97924ceeb7ebb875a13.tar.xz |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/or.ll')
-rw-r--r-- | test/Transforms/InstCombine/or.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll index 529e43ced9..3cf8fc1f02 100644 --- a/test/Transforms/InstCombine/or.ll +++ b/test/Transforms/InstCombine/or.ll @@ -143,3 +143,10 @@ ubyte %test22(ubyte %A) { %E = xor ubyte %D, 12 ret ubyte %E } + +uint %test23(uint %A) { + %B = or uint %A, 4 ; Should be eliminated + %C = and uint %B, 8 + ret uint %C +} + |