Skip to content

Commit

Permalink
delete value range
Browse files Browse the repository at this point in the history
  • Loading branch information
yunzhongOvO committed Sep 20, 2023
1 parent 52cca1e commit ca6732c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,7 @@ LogicalResult lowerWithScheduleColReduction(

SmallVector<Value, 4> yield_values_for_if;

SmallVector<Value, 2> multidim_load_index({row_index, col_index});
ValueRange load_index(multidim_load_index);
SmallVector<Value, 2> load_index({row_index, col_index});
b.setInsertionPointToStart(&if_row_valid_op.getThenRegion().front());
int col_red_root_op_idx = 0;
for (auto* root_op : root_ops) {
Expand Down Expand Up @@ -925,8 +924,7 @@ LogicalResult lowerWithScheduleColReductionTileH(

SmallVector<Value, 4> yield_values_for_if;

SmallVector<Value, 2> multidim_load_index({row_index, col_index});
ValueRange load_index(multidim_load_index);
SmallVector<Value, 2> load_index({row_index, col_index});
b.setInsertionPointToStart(&if_row_valid_op.getThenRegion().front());
int col_red_root_op_idx = 0;
for (auto* root_op : root_ops) {
Expand Down

0 comments on commit ca6732c

Please sign in to comment.