[clang] [compiler-rt] [llvm] [AIX] Implement the ifunc attribute. (PR #153049)
Sean Fertile via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 4 10:59:10 PST 2025
================
@@ -5591,7 +5591,7 @@ static SDValue transformCallee(const SDValue &Callee, SelectionDAG &DAG,
const GlobalValue *GV = cast<GlobalAddressSDNode>(Callee)->getGlobal();
if (Subtarget.isAIXABI()) {
- assert(!isa<GlobalIFunc>(GV) && "IFunc is not supported on AIX.");
+ // TODO: convert ifunc to indirect call
----------------
mandlebug wrote:
Whats the purpose of this comment? we are transforming the ifuncs to a trampoline, do you want to call the trampoline indirectly or is this a remnant from before the trampolines where we would need to call the ifunc using the descriptor?
https://github.com/llvm/llvm-project/pull/153049
More information about the llvm-commits
mailing list