aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/IR.rst
diff options
Diffstat (limited to 'Documentation/IR.rst')
-rw-r--r--Documentation/IR.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/IR.rst b/Documentation/IR.rst
index b7fe98a4..61575386 100644
--- a/Documentation/IR.rst
+++ b/Documentation/IR.rst
@@ -264,8 +264,11 @@ They all have the following signature:
* .target: result value
* .type: type of .target
+Currently, a cast to a void pointer is treated like a cast to
+an unsigned integer of the same size.
+
.. op:: OP_CAST
- Cast to unsigned integer (and to void pointer).
+ Cast to unsigned integer.
.. op:: OP_SCAST
Cast to signed integer.
@@ -273,8 +276,11 @@ They all have the following signature:
.. op:: OP_UTPTR
Cast from pointer-sized unsigned integer to pointer type.
+.. op:: OP_PTRTU
+ Cast from pointer type to unsigned integer.
+
.. op:: OP_PTRCAST
- Cast to pointer.
+ Cast between pointers.
.. op:: OP_FCVTU
Conversion from float type to unsigned integer.