================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to