aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-07-11 22:17:08 -0700
committerCraig Topper <craig.topper@sifive.com>2024-07-11 22:17:28 -0700
commit51b22f95b8083c764fe39fd95e43f04bfa4be2c1 (patch)
treed8342439b6f862de600ce86cb2237f07537b93b6 /llvm/lib/Transforms/Scalar/LoopDistribute.cpp
parentda368f24050f34de0327d04068a608ba971fa47c (diff)
downloadllvm-51b22f95b8083c764fe39fd95e43f04bfa4be2c1.zip
llvm-51b22f95b8083c764fe39fd95e43f04bfa4be2c1.tar.gz
llvm-51b22f95b8083c764fe39fd95e43f04bfa4be2c1.tar.bz2
[LoopDist] Fix copy/paste mistake that said vectorize instead of distribute. NFC
Remove mention of sharing with new and old PM. The old PM code is gone.
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopDistribute.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopDistribute.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
index c1afa72..c84e419 100644
--- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -965,11 +965,10 @@ private:
} // end anonymous namespace
-/// Shared implementation between new and old PMs.
static bool runImpl(Function &F, LoopInfo *LI, DominatorTree *DT,
ScalarEvolution *SE, OptimizationRemarkEmitter *ORE,
LoopAccessInfoManager &LAIs) {
- // Build up a worklist of inner-loops to vectorize. This is necessary as the
+ // Build up a worklist of inner-loops to distribute. This is necessary as the
// act of distributing a loop creates new loops and can invalidate iterators
// across the loops.
SmallVector<Loop *, 8> Worklist;