aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-23 19:24:34 +0000
committerChris Lattner <sabre@nondot.org>2003-07-23 19:24:34 +0000
commitb5cfb6cb1a528990cafbb3cc447ac50370637368 (patch)
tree8dd6d106ebda865a70df17ae7dd71908b183f259 /test
parent0afcd442a134b165d602e97924ceeb7ebb875a13 (diff)
downloadexternal_llvm-b5cfb6cb1a528990cafbb3cc447ac50370637368.zip
external_llvm-b5cfb6cb1a528990cafbb3cc447ac50370637368.tar.gz
external_llvm-b5cfb6cb1a528990cafbb3cc447ac50370637368.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/or.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/or.ll b/test/Transforms/InstCombine/or.ll
index 3cf8fc1..594c78f 100644
--- a/test/Transforms/InstCombine/or.ll
+++ b/test/Transforms/InstCombine/or.ll
@@ -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
+}
+