[PATCH] D37432: Fix a misleading phrase in the LangRef
Sanjoy Das via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 9 20:18:27 PDT 2017
sanjoy updated this revision to Diff 114501.
sanjoy added a comment.
- account for vector geps
https://reviews.llvm.org/D37432
Files:
docs/LangRef.rst
Index: docs/LangRef.rst
===================================================================
--- docs/LangRef.rst
+++ 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.114501.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170910/5c879cfe/attachment.bin>
More information about the llvm-commits
mailing list