forked from OSchip/llvm-project
GlobalISel: Add a note to G_BITCAST documentation
This is currently different from the IR rules.
This commit is contained in:
parent
5a95be22d2
commit
59ce6ffe2d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue