Skip to content

Commit

Permalink
[TIR] Fix incorrect construction of block frames (apache#14993)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinx13 authored and mei-ye committed Jun 1, 2023
1 parent 7689165 commit 8e54165
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 8e54165

Please sign in to comment.