[llvm] AMDGPU: Update live intervals in convertToThreeAddress (PR #104610)
Carl Ritson via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 22:49:26 PDT 2024
================
@@ -3934,18 +3934,38 @@ 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 MachineRegisterInfo &MRI = MBB.getParent()->getRegInfo();
+ const auto killDef = [&](SlotIndex OldUseIdx) -> void {
----------------
perlfu wrote:
`OldUseIdx` is no longer required in this version.
https://github.com/llvm/llvm-project/pull/104610
More information about the llvm-commits
mailing list