Skip to content

Commit d1803f0

Browse files
author
Yang Bai
committed
fix format
1 parent d0fd214 commit d1803f0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

mlir/test/lib/Transforms/TestSingleFold.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- TestSingleFold.cpp - Pass to test single-pass folding ---------------===//
1+
//===- TestSingleFold.cpp - Pass to test single-pass folding --------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -13,7 +13,7 @@ using namespace mlir;
1313

1414
namespace {
1515
/// Test pass for single-pass constant folding.
16-
///
16+
///
1717
/// This pass tests the behavior of operations when folded exactly once. Unlike
1818
/// canonicalization passes that may apply multiple rounds of folding, this pass
1919
/// ensures that each operation is folded at most once, which is useful for
@@ -59,7 +59,8 @@ void TestSingleFold::runOnOperation() {
5959

6060
// Collect and fold the operations within the operation.
6161
SmallVector<Operation *, 8> ops;
62-
getOperation()->walk<mlir::WalkOrder::PreOrder>([&](Operation *op) { ops.push_back(op); });
62+
getOperation()->walk<mlir::WalkOrder::PreOrder>(
63+
[&](Operation *op) { ops.push_back(op); });
6364

6465
// Fold the constants in reverse so that the last generated constants from
6566
// folding are at the beginning. This creates somewhat of a linear ordering to

0 commit comments

Comments
 (0)