Changes to support making the shift instructions be true BinaryOperators.
This feature is needed in order to support shifts of more than 255 bits
on large integer types. This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
shl i32 %X, 1
instead of
shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33776 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Integer/a15.ll b/test/Integer/a15.ll
index d3cc319..4e4908c 100644
--- a/test/Integer/a15.ll
+++ b/test/Integer/a15.ll
@@ -10,12 +10,12 @@
@f = constant i15 sub(i15 0 , i15 32767)
@g = constant i15 sub(i15 2 , i15 32767)
-@h = constant i15 shl(i15 1 , i8 15)
-@i = constant i15 shl(i15 1 , i8 14)
-@j = constant i15 lshr(i15 32767 , i8 14)
-@k = constant i15 lshr(i15 32767 , i8 15)
-@l = constant i15 ashr(i15 32767 , i8 14)
-@m = constant i15 ashr(i15 32767 , i8 15)
+@h = constant i15 shl(i15 1 , i15 15)
+@i = constant i15 shl(i15 1 , i15 14)
+@j = constant i15 lshr(i15 32767 , i15 14)
+@k = constant i15 lshr(i15 32767 , i15 15)
+@l = constant i15 ashr(i15 32767 , i15 14)
+@m = constant i15 ashr(i15 32767 , i15 15)
@n = constant i15 mul(i15 32767, i15 2)
@q = constant i15 mul(i15 -16383,i15 -3)