Merge pull request #21314 from MathiasVP/remove-tc

C++: Remove redundant transitive closure
This commit is contained in:
Mathias Vorreiter Pedersen
2026-02-12 09:21:56 +00:00
committed by GitHub

View File

@@ -1726,9 +1726,7 @@ private module Cached {
SsaImpl::ssaFlow(n, succ) and
bb1 = n.getBasicBlock() and
bb2 = succ.getBasicBlock() and
bb1 != bb2 and
bb2.dominates(bb1) and
bb1.getASuccessor+() = bb2
bb2.strictlyDominates(bb1)
)
}