New testcases
llvm-svn: 16547
diff --git a/llvm/test/Regression/Transforms/InstCombine/shift.ll b/llvm/test/Regression/Transforms/InstCombine/shift.ll
index 12bc2cd..e4f1bfb 100644
--- a/llvm/test/Regression/Transforms/InstCombine/shift.ll
+++ b/llvm/test/Regression/Transforms/InstCombine/shift.ll
@@ -145,3 +145,16 @@
%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
+}
+