[llvm] [AMDGPU] Move WWM register pre-allocation to during regalloc (PR #70618)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 2 02:23:42 PDT 2023
================
@@ -101,7 +99,7 @@ bool SIPreAllocateWWMRegs::processDef(MachineOperand &MO) {
LiveInterval &LI = LIS->getInterval(Reg);
for (MCRegister PhysReg : RegClassInfo.getOrder(MRI->getRegClass(Reg))) {
- if (!MRI->isPhysRegUsed(PhysReg) &&
+ if (!MRI->isPhysRegUsed(PhysReg, true) &&
----------------
arsenm wrote:
Add the /**/ comment for the true parameter name, I have no idea what this does without looking
https://github.com/llvm/llvm-project/pull/70618
More information about the llvm-commits
mailing list