[llvm] [LiveIntervals] Ignore artificial regs when adding kill flags (PR #116963)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 08:57:54 PST 2024
================
@@ -659,3 +659,11 @@ bool MachineRegisterInfo::isReservedRegUnit(unsigned Unit) const {
}
return false;
}
+
+bool MachineRegisterInfo::isArtificialRegUnit(unsigned Unit) const {
----------------
arsenm wrote:
This should go in MCRegisterInfo, it's a constant property of the register. isReservedRegUnit is a stateful property depending on the current MachineFunction, so it should remain here
https://github.com/llvm/llvm-project/pull/116963
More information about the llvm-commits
mailing list