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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 04:04:55 PST 2022


nikic added a comment.

In D118449#3278938 <https://reviews.llvm.org/D118449#3278938>, @lebedev.ri wrote:

> Have you considered using `removeUnreachableBlocks()`?

I did consider that, but the implementation seems to be doing significantly more than just removing unreachable blocks, and I was not entirely certain that it is appropriate here.

If desired, I can switch to that though (with an interface change to accept a start block rather than a function).


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

https://reviews.llvm.org/D118449



More information about the llvm-commits mailing list