[llvm] [SelectionDAG] Attach call info to the call, not to a copy before it (PR #229329)
Mian Miftah via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 03:32:20 PDT 2026
mmiftahx wrote:
> > This looks dodgy. You shouldn't have to hunt around for the call instruction.
>
> Yeah taking another look at it you're right. EmitNode can return the instructions it builds for a machine node. I'll fix this.
Changed this so EmitNode now returns the call it builds and the call info goes on that. It only returns calls, since AdjustInstrPostInstrSelection can erase the instruction.
This should land after #229318, otherwise a few more AMDGPU calls hit the assertion it fixes when call site info is enabled.
https://github.com/llvm/llvm-project/pull/229329
More information about the llvm-commits
mailing list