[llvm] [IR] llvm.reloc.none intrinsic for no-op symbol references (PR #147427)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 13:56:24 PST 2025


================
@@ -30947,6 +30947,37 @@ This intrinsic does nothing, but optimizers must consider it a use of its single
 operand and should try to preserve the intrinsic and its position in the
 function.
 
+.. _llvm_reloc_none:
+
+'``llvm.reloc.none``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+::
+
+      declare void @llvm.reloc.none(ptrty %ptr)
----------------
arsenm wrote:

Signature doesn't match the new metadata version 

https://github.com/llvm/llvm-project/pull/147427


More information about the llvm-commits mailing list