New testcases
authorChris Lattner <sabre@nondot.org>
Tue, 28 Sep 2004 18:18:35 +0000 (18:18 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Sep 2004 18:18:35 +0000 (18:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16547 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/shift.ll

index 12bc2cd8de9da7a1739e5bb8c403db395aec9039..e4f1bfb7b10e8b4c92570f98db5dc66478ff0f2d 100644 (file)
@@ -145,3 +145,16 @@ bool %test20(sbyte %A) {
        %C = seteq sbyte %B, 123    ;; false
        ret bool %C
 }
+
+bool %test21(ubyte %A) {
+       %B = shl ubyte %A, ubyte 4
+       %C = seteq ubyte %B, 128
+       ret bool %C
+}
+
+bool %test22(ubyte %A) {
+       %B = shl ubyte %A, ubyte 4
+       %C = seteq ubyte %B, 0
+       ret bool %C
+}
+