1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Fix a misleading phrase in the LangRef

Reviewers: hfinkel, dberlin

Subscribers: mcrosier, llvm-commits

Differential Revision: https://reviews.llvm.org/D37432

llvm-svn: 313170
This commit is contained in:
Sanjoy Das 2017-09-13 18:49:22 +00:00
parent ca9ecdf6e7
commit cb1c881c0d

View File

@ -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