[llvm] [CodeGen][ARM64EC] Add support for hybrid_patchable attribute. (PR #92965)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 17:26:53 PDT 2024
================
@@ -780,6 +889,17 @@ bool AArch64Arm64ECCallLowering::processFunction(
continue;
}
+ // Use mangled global alias for direct calls to patchable functions.
+ if (GlobalAlias *A =
+ dyn_cast_or_null<GlobalAlias>(CB->getCalledOperand())) {
----------------
efriedma-quic wrote:
getCalledOperand() never returns null.
https://github.com/llvm/llvm-project/pull/92965
More information about the llvm-commits
mailing list