[PATCH] D118449: [Inline][Cloning] Reliably remove unreachable blocks during cloning (PR53206)

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 10:04:41 PST 2022


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

`removeUnreachableBlocks` operates on the whole function and preserves extra analyses. I think it makes sense to have a mini-DFS here to consider only a single inlined function body.

lgtm


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118449/new/

https://reviews.llvm.org/D118449



More information about the llvm-commits mailing list