diff --git a/src/tir/contrib/ethosu/passes.cc b/src/tir/contrib/ethosu/passes.cc index 1e458e1f54d0d..6496bf51dc2a4 100644 --- a/src/tir/contrib/ethosu/passes.cc +++ b/src/tir/contrib/ethosu/passes.cc @@ -252,10 +252,7 @@ class CopyComputeReorderingMutator : public StmtExprMutator { new_seq.push_back(op.compute_op); } } - - } - // Reorder the copies and computes by a fixed number of movements - else { + } else { // Each copy statement to a buffer with global scope is moved up // at most `_max_copy_movements` times. for (size_t index = 0; index < new_seq.size(); ++index) {