Rewrite cloneSESE to perform 2 depth-first passes with the first one cloning blocks and the second one updating the predecessors and successors. This is needed to preserve the correct predecessor/successor ordering with https://github.com/llvm/llvm-project/pull/92651 and has been split off as suggested.
53 KiB
53 KiB