[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 09:19:45 PST 2024


================
@@ -730,7 +730,12 @@ void LiveIntervals::addKillFlags(const VirtRegMap *VRM) {
     // Find the regunit intervals for the assigned register. They may overlap
     // the virtual register live range, cancelling any kills.
     RU.clear();
-    for (MCRegUnit Unit : TRI->regunits(PhysReg)) {
+    LaneBitmask ArtificialLanes = LaneBitmask::getNone();
----------------
arsenm wrote:

```suggestion
    LaneBitmask ArtificialLanes;
```

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


More information about the llvm-commits mailing list