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 576b8b7 commit ba7eda3Copy full SHA for ba7eda3
flang/lib/Lower/Bridge.cpp
@@ -3110,7 +3110,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
3110
loc, 1); // Use index type directly
3111
3112
// Ensure lb, ub, and step are of index type using fir.convert
3113
- auto indexType = builder->getIndexType();
+ mlir::Type indexType = builder->getIndexType();
3114
lb = builder->create<fir::ConvertOp>(loc, indexType, lb);
3115
ub = builder->create<fir::ConvertOp>(loc, indexType, ub);
3116
step = builder->create<fir::ConvertOp>(loc, indexType, step);
0 commit comments