File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -286,18 +286,6 @@ LogicalResult ValueBoundsConstraintSet::computeBound(
286
286
Builder b (value.getContext ());
287
287
mapOperands.clear ();
288
288
289
- if (stopCondition (value, dim)) {
290
- // Special case: If the stop condition is satisfied for the input
291
- // value/dimension, directly return it.
292
- mapOperands.push_back (std::make_pair (value, dim));
293
- AffineExpr bound = b.getAffineDimExpr (0 );
294
- if (type == BoundType::UB)
295
- bound = bound + ubAdjustment;
296
- resultMap = AffineMap::get (/* dimCount=*/ 1 , /* symbolCount=*/ 0 ,
297
- b.getAffineDimExpr (0 ));
298
- return success ();
299
- }
300
-
301
289
// Process the backward slice of `value` (i.e., reverse use-def chain) until
302
290
// `stopCondition` is met.
303
291
ValueDim valueDim = std::make_pair (value, dim.value_or (kIndexValue ));
You can’t perform that action at this time.
0 commit comments