[PATCH] D89371: [NPM] Port -loop-versioning-licm to NPM
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 14 09:18:23 PDT 2020
aeubanks added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Scalar/LoopVersioningLICM.h:17-18
+
+class Loop;
+class LPMUpdater;
+
----------------
These shouldn't be necessary
================
Comment at: llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp:148
+ LoopVersioningLICM(AliasAnalysis *AA, ScalarEvolution *SE,
+ LoopAccessLegacyAnalysis *LAA, LoopAccessInfo *LAI,
+ OptimizationRemarkEmitter *ORE)
----------------
is the `LoopAccessLegacyAnalysis` necessary? Can `LoopVersioningLICM` only need the `LoopAccessInfo` passed in from callers? Looks like both the legacy and NPM pass can create the proper `LoopAccessInfo`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89371/new/
https://reviews.llvm.org/D89371
More information about the llvm-commits
mailing list