[PATCH] D111328: [LoopFlatten] Mark loop analyses as perserved
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 11:48:34 PDT 2021
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopFlatten.cpp:665
SE->forgetLoop(FI.InnerLoop);
LI->erase(FI.InnerLoop);
----------------
aeubanks wrote:
> separately, this looks like it's not telling LPMUpdater that a loop has been deleted which is an issue
I think this is actually fine, because this is a LoopNest pass, in which case LPMUpdater only has to be informed about the removal of top-level loops.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111328/new/
https://reviews.llvm.org/D111328
More information about the llvm-commits
mailing list