diff options
author | Chris Lattner <sabre@nondot.org> | 2003-07-23 19:35:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-07-23 19:35:51 +0000 |
commit | 4daaebf170a1b39bf3c2d43a690ceb94165708f3 (patch) | |
tree | a6ee163480e794e6ecde0b35a101592912549ffd | |
parent | 5840326ae678f5e39f8099beb22c31e8c6ecfa58 (diff) |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7271 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/and.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll index 8e33a7dda5..3eeac3b17f 100644 --- a/test/Transforms/InstCombine/and.ll +++ b/test/Transforms/InstCombine/and.ll @@ -65,3 +65,13 @@ uint %test10(uint %A) { %D = and uint %C, 1 ; (X ^ C1) & C2 --> (X & C2) ^ (C1&C2) ret uint %D } + +uint %test11(uint %A, uint* %P) { + %B = or uint %A, 3 + %C = xor uint %B, 12 + store uint %C, uint* %P ; additional use of C + %D = and uint %C, 3 ; %C = and uint %B, 3 --> 3 + ret uint %D +} + + |