New testcase
authorChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 19:24:34 +0000 (19:24 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 23 Jul 2003 19:24:34 +0000 (19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7267 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/or.ll

index 3cf8fc1f0230b8cb915f0dfe9cd9a935d3d81fc2..594c78f13c790da79eb4b18af568e435d3c3ff60 100644 (file)
@@ -150,3 +150,9 @@ uint %test23(uint %A) {
        ret uint %C
 }
 
+uint %test24(uint %A) {
+       %B = or uint %A, 12
+       %C = and uint %B, 8    ; Always equal to 8
+       ret uint %C 
+}
+