diff --git a/paddle/cinn/ir/group_schedule/dy_shape_group_scheduler.cc b/paddle/cinn/ir/group_schedule/dy_shape_group_scheduler.cc index 6cbdfef7b1133..d59d77954934c 100644 --- a/paddle/cinn/ir/group_schedule/dy_shape_group_scheduler.cc +++ b/paddle/cinn/ir/group_schedule/dy_shape_group_scheduler.cc @@ -136,7 +136,7 @@ std::vector> DynamicShapeGroupScheduler::GetCX86IRs() { std::vector> irs(1); irs[0].first = ir::EQ::Make(ir::Expr(1), ir::Expr(1)); - irs[1].second = ir_sch_->GetModule().GetExprs()[0]; + irs[0].second = ir_sch_->GetModule().GetExprs()[0]; return irs; }