summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/InstCombine/set.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Transforms/InstCombine/set.ll b/llvm/test/Transforms/InstCombine/set.ll
index ca1ccffe6b4..b6ab54392e9 100644
--- a/llvm/test/Transforms/InstCombine/set.ll
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud