I would think the "applyUpdates" API should also take care of deleting the nodes from the analyses objects but this does not seem to be the case. https://godbolt.org/z/38a7rfzjd shows an example where SILowerControlFlow removes a basic block which is not removed in the Post dominator tree.
29 KiB
29 KiB