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/a9.ll b/test/Integer/a9.ll
index 8e4cd9a..990c445 100644
--- a/test/Integer/a9.ll
+++ b/test/Integer/a9.ll
@@ -10,12 +10,12 @@
@f = constant i9 sub(i9 0 , i9 511)
@g = constant i9 sub(i9 2 , i9 511)
-@h = constant i9 shl(i9 1 , i8 9)
-@i = constant i9 shl(i9 1 , i8 8)
-@j = constant i9 lshr(i9 511 , i8 8)
-@k = constant i9 lshr(i9 511 , i8 9)
-@l = constant i9 ashr(i9 511 , i8 8)
-@m = constant i9 ashr(i9 511 , i8 9)
+@h = constant i9 shl(i9 1 , i9 9)
+@i = constant i9 shl(i9 1 , i9 8)
+@j = constant i9 lshr(i9 511 , i9 8)
+@k = constant i9 lshr(i9 511 , i9 9)
+@l = constant i9 ashr(i9 511 , i9 8)
+@m = constant i9 ashr(i9 511 , i9 9)
@n = constant i9 mul(i9 511, i9 2)
@q = constant i9 sdiv(i9 511, i9 2)