[llvm] 51b22f9 - [LoopDist] Fix copy/paste mistake that said vectorize instead of distribute. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 22:17:48 PDT 2024


Author: Craig Topper
Date: 2024-07-11T22:17:28-07:00
New Revision: 51b22f95b8083c764fe39fd95e43f04bfa4be2c1

URL: https://github.com/llvm/llvm-project/commit/51b22f95b8083c764fe39fd95e43f04bfa4be2c1
DIFF: https://github.com/llvm/llvm-project/commit/51b22f95b8083c764fe39fd95e43f04bfa4be2c1.diff

LOG: [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.

Added: 
    

Modified: 
    llvm/lib/Transforms/Scalar/LoopDistribute.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
index c1afa72f2ff3f..c84e419c2a245 100644
--- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -965,11 +965,10 @@ class LoopDistributeForLoop {
 
 } // 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;


        


More information about the llvm-commits mailing list