diff options
author | Mon P Wang <wangmp@apple.com> | 2008-12-09 05:46:39 +0000 |
---|---|---|
committer | Mon P Wang <wangmp@apple.com> | 2008-12-09 05:46:39 +0000 |
commit | 9901e73caec653599f27d04075961afe4a7c29a1 (patch) | |
tree | f27edc0e889c8e493c2cd58da91ad01fd86cf2d9 /docs | |
parent | bab10e29d577cf9d9178037fcb2b3da5f7d91f9d (diff) | |
download | external_llvm-9901e73caec653599f27d04075961afe4a7c29a1.zip external_llvm-9901e73caec653599f27d04075961afe4a7c29a1.tar.gz external_llvm-9901e73caec653599f27d04075961afe4a7c29a1.tar.bz2 |
Fix getNode to allow a vector for the shift amount for shifts of vectors.
Fix the shift amount when unrolling a vector shift into scalar shifts.
Fix problem in getShuffleScalarElt where it assumes that the input of
a bit convert must be a vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 74027ce..48b619a 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2591,6 +2591,7 @@ equal to or larger than the number of bits in <tt>op1</tt>, the result is undefi <result> = shl i32 4, 2 <i>; yields {i32}: 16</i> <result> = shl i32 1, 10 <i>; yields {i32}: 1024</i> <result> = shl i32 1, 32 <i>; undefined</i> + <result> = shl <2 x i32> < i32 1, i32 1>, < i32 1, i32 2> <i>; yields: result=<2 x i32> < i32 2, i32 4></i> </pre> </div> <!-- _______________________________________________________________________ --> @@ -2624,6 +2625,7 @@ the number of bits in <tt>op1</tt>, the result is undefined.</p> <result> = lshr i8 4, 3 <i>; yields {i8}:result = 0</i> <result> = lshr i8 -2, 1 <i>; yields {i8}:result = 0x7FFFFFFF </i> <result> = lshr i32 1, 32 <i>; undefined</i> + <result> = lshr <2 x i32> < i32 -2, i32 4>, < i32 1, i32 2> <i>; yields: result=<2 x i32> < i32 0x7FFFFFFF, i32 1></i> </pre> </div> @@ -2659,6 +2661,7 @@ larger than the number of bits in <tt>op1</tt>, the result is undefined. <result> = ashr i8 4, 3 <i>; yields {i8}:result = 0</i> <result> = ashr i8 -2, 1 <i>; yields {i8}:result = -1</i> <result> = ashr i32 1, 32 <i>; undefined</i> + <result> = ashr <2 x i32> < i32 -2, i32 4>, < i32 1, i32 3> <i>; yields: result=<2 x i32> < i32 -1, i32 0></i> </pre> </div> |