Skip to content

Commit

Permalink
[TIR] Fix incorrect construction of block frames (#14993)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored May 31, 2023
1 parent 7131411 commit c8f97aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tir/schedule/state.cc
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class BlockInfoCollector : private StmtVisitor {
private:
explicit BlockInfoCollector(ScheduleStateNode* self)
: self_(self), srefs_{}, block2realize_{}, block_frames_{} {
block_frames_.emplace({});
block_frames_.emplace_back();
}

/*!
Expand Down

0 comments on commit c8f97aa

Please sign in to comment.