aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}