[llvm] CodeGen: Run LiveIntervals before PHIElimination and drop LiveVariables from it (PR #228618)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 3 01:21:20 PDT 2026


================
@@ -100,12 +98,8 @@ class PHIEliminationImpl {
 
   /// Split critical edges where necessary for good coalescer performance.
   bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB,
-                     MachineLoopInfo *MLI,
-                     std::vector<SparseBitVector<>> *LiveInSets,
-                     MachineDomTreeUpdater &MDTU);
+                     MachineLoopInfo *MLI, MachineDomTreeUpdater &MDTU);
 
-  // These functions are temporary abstractions around LiveVariables and
-  // LiveIntervals, so they can go away when LiveVariables does.
----------------
arsenm wrote:

Probably should but I wanted to keep this as mechanically straightforward as possible 

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


More information about the llvm-commits mailing list