[PATCH] D37432: Fix a misleading phrase in the LangRef

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 3 18:18:28 PDT 2017


sanjoy created this revision.
Herald added a subscriber: mcrosier.

https://reviews.llvm.org/D37432

Files:
  docs/LangRef.rst


Index: docs/LangRef.rst
===================================================================
--- docs/LangRef.rst
+++ docs/LangRef.rst
@@ -2034,7 +2034,7 @@
 following rules:
 
 -  A pointer value formed from a ``getelementptr`` operation is *based*
-   on the second value operand of the ``getelementptr``.
+   on the pointer-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.113715.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170904/2339d4fd/attachment.bin>


More information about the llvm-commits mailing list