Skip to content

Commit 4469f5c

Browse files
committed
Address comment
1 parent 58d98b9 commit 4469f5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Analysis/MaskAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ LogicalResult MaskState::parseLoopIterArg(Value v, const Location loc,
508508
}
509509

510510
auto dist = subOFRs(lhsState.end, lhsState.start, loc, builder);
511-
this->start = forOp.getRegionIterArgs()[argIndex + 1];
511+
this->start = forOp.getRegionIterArg(argIndex + 1);
512512
this->end = addOFRs(this->start, dist, loc, builder);
513513
this->dims = lhsState.dims;
514514

0 commit comments

Comments
 (0)