[PATCH] D132199: [LoopPassManager] Ensure to construct loop nests with the outermost loop
Bardia Mahjour via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 22 09:53:00 PDT 2022
bmahjour added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopPassManager.cpp:71
LPMUpdater &U) {
- assert(L.isOutermost() &&
+ assert(L->isOutermost() &&
"Loop-nest passes should only run on top-level loops.");
----------------
can we copy the address of L at the start of the function, so we don't have to change the reference to a pointer in the function's interface?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132199/new/
https://reviews.llvm.org/D132199
More information about the llvm-commits
mailing list