OSDN Git Service

[LangRef] Remove redundant and inconsistent condition.
authorSean Silva <chisophugis@gmail.com>
Fri, 17 Apr 2015 21:58:55 +0000 (21:58 +0000)
committerSean Silva <chisophugis@gmail.com>
Fri, 17 Apr 2015 21:58:55 +0000 (21:58 +0000)
Just above, 'op2' is stated to be unsigned, so 'negative' doesn't make
sense (and is handled by "larger than" anyway). The descriptions for
lshr and ashr don't say 'negative or' either.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235230 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.rst

index a5a8869..f51870f 100644 (file)
@@ -5060,7 +5060,7 @@ Semantics:
 
 The value produced is ``op1`` \* 2\ :sup:`op2` mod 2\ :sup:`n`,
 where ``n`` is the width of the result. If ``op2`` is (statically or
-dynamically) negative or equal to or larger than the number of bits in
+dynamically) equal to or larger than the number of bits in
 ``op1``, the result is undefined. If the arguments are vectors, each
 vector element of ``op1`` is shifted by the corresponding shift amount
 in ``op2``.