[llvm] [RegAlloc] consider urgent evict in evictInterference (PR #192631)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 10:03:16 PDT 2026


================
@@ -648,7 +648,15 @@ void RAGreedy::evictInterference(const LiveInterval &VirtReg,
       continue;
 
     Matrix->unassign(*Intf);
+    // Urgent eviction will break the cascade assumption.
----------------
arsenm wrote:

Seems like this should adjust the accounting somewhere else, and not repeat the logic for what an urgent eviction is?

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


More information about the llvm-commits mailing list