summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/and.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/and.ll b/test/Transforms/InstCombine/and.ll
index 87e0a5e34d..703dea3326 100644
--- a/test/Transforms/InstCombine/and.ll
+++ b/test/Transforms/InstCombine/and.ll
@@ -113,3 +113,9 @@ sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y)
ret sbyte %D
}
+bool %test18(int %A) {
+ %B = and int %A, -128
+ %C = setne int %B, 0 ;; C >= 128
+ ret bool %C
+}
+