[Mlir-commits] [mlir] d8916e5 - Remove debugging artefact.

Alexander Belyaev llvmlistbot at llvm.org
Wed Feb 19 23:30:54 PST 2020


Author: Alexander Belyaev
Date: 2020-02-20T08:29:39+01:00
New Revision: d8916e58cf1c37dbb1aef1a0e466537262046a8f

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

LOG: Remove debugging artefact.

Added: 
    

Modified: 
    mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp b/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
index 628423a65639..176555233c45 100644
--- a/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
+++ b/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp
@@ -52,9 +52,9 @@ bool isDefinedInPloopBody(Value memref, ParallelOp ploop) {
   return memrefDef && ploop.getOperation()->isAncestor(memrefDef);
 }
 
-// Checks if the parallel loops have mixed access to the same buffers. Returns
-// `true` if the first parallel loop writes to the same indices that the second
-// loop reads.
+/// Checks if the parallel loops have mixed access to the same buffers. Returns
+/// `true` if the first parallel loop writes to the same indices that the second
+/// loop reads.
 static bool haveNoReadsAfterWriteExceptSameIndex(
     ParallelOp firstPloop, ParallelOp secondPloop,
     const BlockAndValueMapping &firstToSecondPloopIndices) {
@@ -158,7 +158,6 @@ static void naivelyFuseParallelOps(Operation *op) {
         noSideEffects &= op.hasNoSideEffect();
       }
       for (ArrayRef<ParallelOp> ploops : ploop_chains) {
-        llvm::errs() << "poo size = " << ploops.size() << '\n';
         for (int i = 0, e = ploops.size(); i + 1 < e; ++i)
           fuseIfLegal(ploops[i], ploops[i + 1], b);
       }


        


More information about the Mlir-commits mailing list