Remove debugging artefact.

This commit is contained in:
Alexander Belyaev 2020-02-20 08:29:39 +01:00
parent 3a0f6e699b
commit d8916e58cf
1 changed files with 3 additions and 4 deletions

View File

@ -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);
}