Skip to content

Commit 51b22f9

Browse files
committed
[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.
1 parent da368f2 commit 51b22f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Scalar/LoopDistribute.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,11 +965,10 @@ class LoopDistributeForLoop {
965965

966966
} // end anonymous namespace
967967

968-
/// Shared implementation between new and old PMs.
969968
static bool runImpl(Function &F, LoopInfo *LI, DominatorTree *DT,
970969
ScalarEvolution *SE, OptimizationRemarkEmitter *ORE,
971970
LoopAccessInfoManager &LAIs) {
972-
// Build up a worklist of inner-loops to vectorize. This is necessary as the
971+
// Build up a worklist of inner-loops to distribute. This is necessary as the
973972
// act of distributing a loop creates new loops and can invalidate iterators
974973
// across the loops.
975974
SmallVector<Loop *, 8> Worklist;

0 commit comments

Comments
 (0)