aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/set.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll
index ca1ccffe6b..b6ab54392e 100644
--- a/test/Transforms/InstCombine/set.ll
+++ b/test/Transforms/InstCombine/set.ll
@@ -145,3 +145,8 @@ int %test24(uint %a) {
ret int %tmp.3
}
+bool %test25(uint %A) {
+ %B = and uint %A, 2
+ %C = setgt uint %B, 2
+ ret bool %C
+}