aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-06 00:58:09 +0000
committerChris Lattner <sabre@nondot.org>2005-05-06 00:58:09 +0000
commit056ea904a783c3f51cf26c0b3a3d1f690a8892ef (patch)
tree4d70bfdb103a7c96954a6004245d0a197c835589
parentd7a10c8566c1f2e979f8f3abcaab441297a0c44c (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21708 91177308-0d34-0410-b5e6-96231b3b80d8
-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 669540b5e0..5ac274e330 100644
--- a/test/Transforms/InstCombine/or.ll
+++ b/test/Transforms/InstCombine/or.ll
@@ -128,3 +128,8 @@ bool %test19(int %A) {
ret bool %D
}
+int %test20(int %x) {
+ %y = and int %x, 123
+ %z = or int %y, %x
+ ret int %z
+}