Skip to content

Commit 137f96c

Browse files
committed
nit
1 parent 319bcae commit 137f96c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Conversion/Normalize/Normalize.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,6 @@ void NormalizePass::reorderOperationOperandsByName(Operation *op) {
352352
}
353353
}
354354

355-
/// Reorders operations by walking up the tree from each operand of an output
356-
/// operation and reducing the def-use distance.
357355
void NormalizePass::reorderOperations(
358356
const SmallVector<Operation *, 16> &outputs) {
359357
SmallPtrSet<const Operation *, 32> visited;
@@ -363,6 +361,8 @@ void NormalizePass::reorderOperations(
363361
reorderOperation(defOp, op, visited);
364362
}
365363

364+
/// Reorders operations by walking up the tree from each operand of an output
365+
/// operation and reducing the def-use distance.
366366
void NormalizePass::reorderOperation(
367367
Operation *used, Operation *user,
368368
SmallPtrSet<const Operation *, 32> &visited) {

0 commit comments

Comments
 (0)