This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new c8f97aa877 [TIR] Fix incorrect construction of block frames (#14993)
c8f97aa877 is described below

commit c8f97aa877c5b1688025ff8bf19cc0cf51e30bd2
Author: Wuwei Lin <[email protected]>
AuthorDate: Wed May 31 07:09:53 2023 -0700

    [TIR] Fix incorrect construction of block frames (#14993)
---
 src/tir/schedule/state.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tir/schedule/state.cc b/src/tir/schedule/state.cc
index aa2efacd0d..45ed97af51 100644
--- a/src/tir/schedule/state.cc
+++ b/src/tir/schedule/state.cc
@@ -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();
   }
 
   /*!

Reply via email to