[llvm] r235230 - [LangRef] Remove redundant and inconsistent condition.
Sean Silva
chisophugis at gmail.com
Fri Apr 17 14:58:55 PDT 2015
Author: silvas
Date: Fri Apr 17 16:58:55 2015
New Revision: 235230
URL: http://llvm.org/viewvc/llvm-project?rev=235230&view=rev
Log:
[LangRef] Remove redundant and inconsistent condition.
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.
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=235230&r1=235229&r2=235230&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Fri Apr 17 16:58:55 2015
@@ -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``.
More information about the llvm-commits
mailing list