[clang] [compiler-rt] [llvm] [AIX] Implement the ifunc attribute. (PR #153049)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 4 13:04:06 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
----------------
w2yehia wrote:
spoke to Sean offline. This TODO is not necessary at the moment and it's likely not the correct place to do this change. Sean mentioned we can do this transformation in the same place we handle the longcall attribute.
https://github.com/llvm/llvm-project/pull/153049
More information about the llvm-commits
mailing list