We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1831cf2 commit fc798dfCopy full SHA for fc798df
mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
@@ -261,8 +261,8 @@ loopScheduling(scf::ForOp forOp,
261
return 1;
262
};
263
264
- auto ubConstant = getConstantIntValue(forOp.getUpperBound());
265
- auto lbConstant = getConstantIntValue(forOp.getLowerBound());
+ std::optional<int64_t> ubConstant = getConstantIntValue(forOp.getUpperBound());
+ std::optional<int64_t> lbConstant = getConstantIntValue(forOp.getLowerBound());
266
DenseMap<Operation *, unsigned> opCycles;
267
std::map<unsigned, std::vector<Operation *>> wrappedSchedule;
268
for (Operation &op : forOp.getBody()->getOperations()) {
0 commit comments