[PATCH] D123870: [LoopDeletion] Don't delete loops with blocks that have their address taken

Nick Desaulniers via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 15 13:10:00 PDT 2022


nickdesaulniers added a comment.

In D123870#3454612 <https://reviews.llvm.org/D123870#3454612>, @nickdesaulniers wrote:

> In D123870#3454609 <https://reviews.llvm.org/D123870#3454609>, @nickdesaulniers wrote:
>
>> Should we be replacing the blockaddress with a Constant 1 in such cases? We do that elsewhere in a couple places. @efriedma ?
>
> Oh, that's what the previous behavior of llvm/test/Transforms/LoopDeletion/blockaddress.ll was testing.

Ah, this test was precommitted recently: https://github.com/llvm/llvm-project/commit/4d85859ff48d16fc0ca8199676f7417a2c6dfe43


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123870



More information about the llvm-commits mailing list