aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-09-18 05:25:10 +0000
committerChris Lattner <sabre@nondot.org>2006-09-18 05:25:10 +0000
commite04deb9914b524da60f92615b8f45bc27ccb3d2d (patch)
tree8124e10704754ed8c371c673bca38936fbf464a3
parent0ec0b539a75e8896636530bddce47f5be14abd19 (diff)
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30455 91177308-0d34-0410-b5e6-96231b3b80d8
-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
+}