[llvm] AMDGPU: Update live intervals in convertToThreeAddress (PR #104610)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 1 22:32:45 PDT 2024
================
@@ -3947,14 +3947,34 @@ MachineInstr *SIInstrInfo::convertToThreeAddress(MachineInstr &MI,
(ST.getConstantBusLimit(Opc) > 1 || !Src0->isReg() ||
!RI.isSGPRReg(MBB.getParent()->getRegInfo(), Src0->getReg()))) {
MachineInstr *DefMI;
- const auto killDef = [&]() -> void {
+ const auto killDef = [&](SlotIndex OldDefIdx) -> void {
----------------
perlfu wrote:
This variable should be called `OldUseIdx`.
https://github.com/llvm/llvm-project/pull/104610
More information about the llvm-commits
mailing list