From 586a785efcf7be3e899d30a978daed09975c8559 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235230 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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``. -- 2.34.1