aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-23 17:25:55 +0000
committerChris Lattner <sabre@nondot.org>2003-07-23 17:25:55 +0000
commit347319a4c90abdfa333a247f892e86497c38e7bd (patch)
tree9172ee0fc4045c5ed75e15231a016631f2931d8e /test/Transforms
parent30780ccf15fd098afe5c47ae8e013dd832ed2dde (diff)
downloadexternal_llvm-347319a4c90abdfa333a247f892e86497c38e7bd.zip
external_llvm-347319a4c90abdfa333a247f892e86497c38e7bd.tar.gz
external_llvm-347319a4c90abdfa333a247f892e86497c38e7bd.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/or.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll
index a9863db..e890095 100644
--- a/test/Transforms/InstCombine/or.ll
+++ b/test/Transforms/InstCombine/or.ll
@@ -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
+}