From: Alexander Belyaev Date: Thu, 20 Feb 2020 07:29:39 +0000 (+0100) Subject: Remove debugging artefact. X-Git-Tag: llvmorg-12-init~14119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8916e58cf1c37dbb1aef1a0e466537262046a8f;p=platform%2Fupstream%2Fllvm.git Remove debugging artefact. --- diff --git a/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp b/mlir/lib/Dialect/LoopOps/Transforms/ParallelLoopFusion.cpp index 628423a..1765552 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 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); }