[llvm] [SimplifyCFG] Fix DomTree update in `simplifySwitchWhenUMin` (PR #212008)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 25 03:46:00 PDT 2026
================
@@ -7840,7 +7840,7 @@ static bool simplifySwitchWhenUMin(SwitchInst *SI, DomTreeUpdater *DTU) {
// is reachable.
if (!SI->defaultDestUnreachable() || Case == SI->case_default()) {
if (DTU)
- DTU->applyUpdates(Updates);
+ DTU->applyUpdatesPermissive(Updates);
----------------
dtcxzyw wrote:
Reverted to the previous solution.
https://github.com/llvm/llvm-project/pull/212008
More information about the llvm-commits
mailing list