[llvm] [SelectionDAG] Switch to LiveRegUnits (PR #84197)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 09:21:20 PST 2024
================
@@ -1113,7 +1113,7 @@ static void toggleKills(const MachineRegisterInfo &MRI, LivePhysRegs &LiveRegs,
continue;
// Things that are available after the instruction are killed by it.
- bool IsKill = LiveRegs.available(MRI, Reg);
+ bool IsKill = LiveRegs.available(Reg);
----------------
jayfoad wrote:
It means that `lib/CodeGen/MachineVerifier` could disallow killing a reserved register.
https://github.com/llvm/llvm-project/pull/84197
More information about the llvm-commits
mailing list