Skip to content

Commit 6f115d3

Browse files
committed
lint fix
1 parent d0648e5 commit 6f115d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/transform/multi_version_buffer_rewriter.cc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <tvm/tir/stmt_functor.h>
1111
#include <tvm/tir/transform.h>
1212

13-
#include <utility>
1413
#include <unordered_set>
14+
#include <utility>
1515

1616
#include "../op/builtin.h"
1717

@@ -287,8 +287,7 @@ class MultiVersionBufferRewriter : public StmtExprMutator {
287287
LOG(FATAL)
288288
<< "MultiVersionBuffer: Can't handle the body of the loop because "
289289
<< "it is not a SeqStmt, IfThenElse without else, "
290-
<< "or LetStmt wrapping them, but got "
291-
<< current->GetTypeKey();
290+
<< "or LetStmt wrapping them, but got " << current->GetTypeKey();
292291
}
293292
}
294293
ICHECK(pipeline_body_seq != nullptr);
@@ -422,12 +421,14 @@ class MultiVersionBufferRewriter : public StmtExprMutator {
422421

423422
PrimExpr version_index_;
424423
std::vector<std::pair<Var, PrimExpr>> loop_stack_;
425-
// Track ancestor statements to query whether an LCA is inside the current loop.
424+
// Track ancestor statements to query whether an LCA is inside the current
425+
// loop.
426426
std::vector<const StmtNode *> stmt_stack_;
427427
Map<Var, Buffer> buffer_data_to_buffer_;
428428
Map<Buffer, Optional<Stmt>> buffer_lca_;
429429
Map<Buffer, Buffer> buffer_remap_;
430-
// Remember each block's alloc list so the loop can see buffers defined in parents.
430+
// Remember each block's alloc list so the loop can see buffers defined in
431+
// parents.
431432
std::unordered_map<const BlockNode *, Array<Buffer>> block_alloc_buffers_;
432433
};
433434

0 commit comments

Comments
 (0)