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

test/Transforms/InstCombine/or.ll

index a9863db935a51f6eee6ea425a2563c2795ecb11f..e89009547ba8f9a0edca42a8884a5fcb4187228d 100644 (file)
@@ -112,3 +112,8 @@ False:
        ret ubyte 3
 }
 
+bool %test19(ubyte %A) {
+       %B = xor ubyte %A, 123      ; xor can be eliminated
+       %C = seteq ubyte %B, 34
+       ret bool %C
+}