[llvm] [RegisterCoalescer]: Try inflated RC for coalescing reg->subreg (PR #134438)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 4 22:55:34 PDT 2025
================
@@ -477,7 +477,9 @@ bool CoalescerPair::setRegisters(const MachineInstr *MI) {
Flipped = true;
}
- const MachineRegisterInfo &MRI = MI->getMF()->getRegInfo();
+ const MachineFunction *MF = MI->getMF();
+
+ const MachineRegisterInfo &MRI = MF->getRegInfo();
----------------
arsenm wrote:
Probably should just pass this as an argument to setRegisters
https://github.com/llvm/llvm-project/pull/134438
More information about the llvm-commits
mailing list