[llvm] [LiveIntervals] Ignore artificial regs when adding kill flags (PR #116963)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 09:04:09 PST 2024


================
@@ -659,3 +659,11 @@ bool MachineRegisterInfo::isReservedRegUnit(unsigned Unit) const {
   }
   return false;
 }
+
+bool MachineRegisterInfo::isArtificialRegUnit(unsigned Unit) const {
----------------
sdesmalen-arm wrote:

That makes a lot of sense, thanks both!

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


More information about the llvm-commits mailing list