[llvm] [IR] llvm.reloc.none intrinsic for no-op symbol references (PR #147427)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 18 22:04:20 PDT 2025
================
@@ -1913,6 +1913,9 @@ def int_threadlocal_address : DefaultAttrsIntrinsic<[llvm_anyptr_ty], [LLVMMatch
def int_stepvector : DefaultAttrsIntrinsic<[llvm_anyvector_ty],
[], [IntrNoMem]>;
+def int_reloc_none : DefaultAttrsIntrinsic<[], [llvm_ptr_ty],
+ [IntrHasSideEffects, IntrInaccessibleMemOnly, IntrWillReturn]>;
----------------
arsenm wrote:
New uses of llvm_ptr_ty should not be introduced. Only llvm_anyptr_ty
https://github.com/llvm/llvm-project/pull/147427
More information about the llvm-commits
mailing list