new testcase
authorChris Lattner <sabre@nondot.org>
Mon, 18 Sep 2006 05:25:10 +0000 (05:25 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 18 Sep 2006 05:25:10 +0000 (05:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30455 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/cast.ll

index 69f31b4e6cace58ebe22d3e4c47227c1c704340f..7d6a3cb93d1280fc2bd407a686b5b66155f73f23 100644 (file)
@@ -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
+}