[llvm] [CodeGen] Use RegisterClassInfo for remaining allocation-order users (PR #216510)

Nikhil Kotikalapudi via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 16 12:01:05 PDT 2026


================
@@ -804,6 +795,7 @@ bool RegAllocPBQP::runOnMachineFunction(MachineFunction &MF) {
       createInlineSpiller({LIS, LiveStks, MDT, MBFI}, MF, VRM, DefaultVRAI));
 
   MF.getRegInfo().freezeReservedRegs();
+  RCI.runOnMachineFunction(MF);
----------------
nkotikal wrote:

@arsenm RA Base and by extension RA Greedy initializes with freezeReservedRegs, and RA Fast freezes in its runOnMachineFunction. I believe greedy, fast and base all use a local RCI as well, should all of these be converted?

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


More information about the llvm-commits mailing list