From ad3b0a3474effb1bae6031e84179cb68e6403366 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Fri, 17 Apr 2015 21:58:55 +0000 Subject: [PATCH] [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. llvm-svn: 235230 --- docs/LangRef.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index a5a886952b7..f51870f66a5 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -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``.