GlobalISel: Add a note to G_BITCAST documentation

This is currently different from the IR rules.
This commit is contained in:
Matt Arsenault 2020-06-07 10:04:31 -04:00
parent 5a95be22d2
commit 59ce6ffe2d
1 changed files with 5 additions and 3 deletions

View File

@ -152,9 +152,11 @@ Convert a pointer to an integer.
G_BITCAST
^^^^^^^^^
Reinterpret a value as a new type. This is usually done without changing any
bits but this is not always the case due a sublety in the definition of the
:ref:`LLVM-IR Bitcast Instruction <i_bitcast>`.
Reinterpret a value as a new type. This is usually done without
changing any bits but this is not always the case due a sublety in the
definition of the :ref:`LLVM-IR Bitcast Instruction <i_bitcast>`. It
is allowed to bitcast between pointers with the same size, but
different address spaces.
.. code-block:: none