We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11d38c commit 6b4b6d9Copy full SHA for 6b4b6d9
llvm/docs/LangRef.rst
@@ -637,6 +637,12 @@ appropriate fencing is inserted. Since the appropriate fencing is
637
implementation defined, the optimizer can't do the latter. The former is
638
challenging as many commonly expected properties, such as
639
``ptrtoint(v)-ptrtoint(v) == 0``, don't hold for non-integral types.
640
+Similar restrictions apply to intrinsics that might examine the pointer bits,
641
+such as :ref:`llvm.ptrmask<int_ptrmask>`.
642
+
643
+The alignment information provided by the frontend for a non-integral pointer
644
+(typically using attributes or metadata) must be valid for every possible
645
+representation of the pointer.
646
647
.. _globalvars:
648
0 commit comments