Skip to content

Commit

Permalink
Remove designated initializers
Browse files Browse the repository at this point in the history
Change-Id: Ic148264239eac7df7d976a6a3e15236935232792
  • Loading branch information
NicolaLancellotti committed Nov 10, 2021
1 parent b7c2ad1 commit 53c1a99
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/tir/transforms/inject_rolling_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,10 @@ class RollingBufferInjector : public StmtExprMutator {
ICHECK(roll_axis != -1) << "Rolling buffer injection failed: no rolling axis found";

RollingBufferInfo rolling_buffer_info = {
.rolling_axis = roll_axis,
.rolling_extent = static_cast<int>(
Downcast<IntImm>(buffer_realize->bounds[roll_axis]->extent)->value),
.axis_overlaps = bound_overlaps,
.axis_iter_vars = bound_iter_vars,
roll_axis,
static_cast<int>(Downcast<IntImm>(buffer_realize->bounds[roll_axis]->extent)->value),
bound_overlaps,
bound_iter_vars,
};
rolling_buffer_to_info[buffer] = rolling_buffer_info;
Array<Range> new_bounds{};
Expand Down

0 comments on commit 53c1a99

Please sign in to comment.