diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-05-07 06:17:14 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-05-07 06:17:14 +0000 |
commit | 338eba7380fe82d93ea869186cd20c6e2a8e562d (patch) | |
tree | ad7f677a8829c3b37cc570c51339cc9797f9f886 /docs | |
parent | eb95cec176ad4154ac4ed509baf1c9c51ca29be0 (diff) | |
download | external_llvm-338eba7380fe82d93ea869186cd20c6e2a8e562d.zip external_llvm-338eba7380fe82d93ea869186cd20c6e2a8e562d.tar.gz external_llvm-338eba7380fe82d93ea869186cd20c6e2a8e562d.tar.bz2 |
Correct logical shift documentation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181290 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst index 410f640..4d006f1 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -4008,7 +4008,7 @@ Example: <result> = lshr i32 4, 1 ; yields {i32}:result = 2 <result> = lshr i32 4, 2 ; yields {i32}:result = 1 <result> = lshr i8 4, 3 ; yields {i8}:result = 0 - <result> = lshr i8 -2, 1 ; yields {i8}:result = 0x7FFFFFFF + <result> = lshr i8 -2, 1 ; yields {i8}:result = 0x7F <result> = lshr i32 1, 32 ; undefined <result> = lshr <2 x i32> < i32 -2, i32 4>, < i32 1, i32 2> ; yields: result=<2 x i32> < i32 0x7FFFFFFF, i32 1> |