[llvm] Reland "[BasicBlockUtils] Fix dominator tree update for entry block in splitBlockBefore() (#178895) (PR #179392)
Mingjie Xu via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 3 04:18:53 PST 2026
================
@@ -691,7 +691,7 @@ bool CodeGenPrepare::_run(Function &F) {
MadeChange |= optimizePhiTypes(F);
if (MadeChange)
- eliminateFallThrough(F, DT.get());
+ eliminateFallThrough(F, &getDT(F));
----------------
Enna1 wrote:
Thanks, this makes sense.
keep `DT.get()` here.
https://github.com/llvm/llvm-project/pull/179392
More information about the llvm-commits
mailing list