[PATCH] D37432: Fix a misleading phrase in the LangRef
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 11:50:52 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL313170: Fix a misleading phrase in the LangRef (authored by sanjoy).
Repository:
rL LLVM
https://reviews.llvm.org/D37432
Files:
llvm/trunk/docs/LangRef.rst
Index: llvm/trunk/docs/LangRef.rst
===================================================================
--- llvm/trunk/docs/LangRef.rst
+++ llvm/trunk/docs/LangRef.rst
@@ -2033,8 +2033,11 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37432.115087.patch
Type: text/x-patch
Size: 904 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170913/f844d45c/attachment.bin>
More information about the llvm-commits
mailing list