[llvm] [AMDGPU] Move call site info when SI_CALL_ISEL is replaced (PR #229318)

Mian Miftah via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 6 02:22:27 PDT 2026


================
@@ -7342,6 +7383,7 @@ SITargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
       MIB.add(MO);
 
     MIB.cloneMemRefs(MI);
+    MF->moveAdditionalCallInfo(&MI, MIB);
----------------
mmiftahx wrote:

No real reason, it's always true here since SI_CALL_ISEL is always a call. Most other callers check first anyway, so I added it back.

https://github.com/llvm/llvm-project/pull/229318


More information about the llvm-commits mailing list