[llvm-branch-commits] [llvm] [CodeGen] Fix multiple connected component issue in rematerializer (PR #186674)
Quentin Colombet via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 17 12:52:28 PDT 2026
================
@@ -160,6 +160,12 @@ class LiveIntervals {
return LI;
}
+ LiveInterval &createAndComputeVirtRegInterval(Register Reg, bool &NeedSplit) {
+ LiveInterval &LI = createEmptyInterval(Reg);
+ NeedSplit = computeVirtRegInterval(LI);
+ return LI;
----------------
qcolombet wrote:
Do you have further use of this API down the line?
I'm wondering if this new variant is worth it. The LiveIntervals API is already clunky to use.
https://github.com/llvm/llvm-project/pull/186674
More information about the llvm-branch-commits
mailing list