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

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 2 18:58:11 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.
----------------
lenary wrote:

Are we intending to remove these two, as the comment says?

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


More information about the llvm-commits mailing list