aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/Transforms/InstCombine/cast.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll
index 69f31b4e6c..7d6a3cb93d 100644
--- a/test/Transforms/InstCombine/cast.ll
+++ b/test/Transforms/InstCombine/cast.ll
@@ -192,5 +192,10 @@ uint %test30(uint %c1) {
ret uint %c4
}
-
+bool %test31(ulong %A) {
+ %B = cast ulong %A to int
+ %C = and int %B, 42
+ %D = seteq int %C, 10
+ ret bool %D
+}