[llvm] r313170 - Fix a misleading phrase in the LangRef
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 11:49:22 PDT 2017
Author: sanjoy
Date: Wed Sep 13 11:49:22 2017
New Revision: 313170
URL: http://llvm.org/viewvc/llvm-project?rev=313170&view=rev
Log:
Fix a misleading phrase in the LangRef
Reviewers: hfinkel, dberlin
Subscribers: mcrosier, llvm-commits
Differential Revision: https://reviews.llvm.org/D37432
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=313170&r1=313169&r2=313170&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Wed Sep 13 11:49:22 2017
@@ -2033,8 +2033,11 @@ to the following rules:
A pointer value is *based* on another pointer value according to the
following rules:
-- A pointer value formed from a ``getelementptr`` operation is *based*
- on the second value operand of the ``getelementptr``.
+- A pointer value formed from a scalar ``getelementptr`` operation is *based* on
+ the pointer-typed operand of the ``getelementptr``.
+- The pointer in lane *l* of the result of a vector ``getelementptr`` operation
+ is *based* on the pointer in lane *l* of the vector-of-pointers-typed operand
+ of the ``getelementptr``.
- The result value of a ``bitcast`` is *based* on the operand of the
``bitcast``.
- A pointer value formed by an ``inttoptr`` is *based* on all pointer
More information about the llvm-commits
mailing list