avoid a bug where we remove a BB and then the next one becomes the
authorJohn Regehr <regehr@cs.utah.edu>
Wed, 3 Aug 2022 04:22:07 +0000 (22:22 -0600)
committerJohn Regehr <regehr@cs.utah.edu>
Wed, 3 Aug 2022 04:23:12 +0000 (22:23 -0600)
commit1116fa476504a0c3a03b779ce3c020f231b0511c
tree509b6ec75da3ad0532fa806993cf7c9c60fac42e
parentbe3587ae9ab2289179eea0bf6b241d796524062a
avoid a bug where we remove a BB and then the next one becomes the
entry block and is illegal due to having more then one predecessor
block

Differential Revision: https://reviews.llvm.org/D131026
llvm/tools/llvm-reduce/deltas/ReduceBasicBlocks.cpp