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 d7add58 commit 2db0acbCopy full SHA for 2db0acb
flang/lib/Lower/OpenACC.cpp
@@ -1412,11 +1412,10 @@ createLoopOp(Fortran::lower::AbstractConverter &converter,
1412
tileOperands.push_back(fir::getBase(converter.genExprValue(
1413
*Fortran::semantics::GetExpr(*expr), stmtCtx)));
1414
} else {
1415
- // * was passed as value and will be represented as a -1 constant
1416
- // integer.
+ // * was passed as value and will be represented as a special
+ // constant.
1417
mlir::Value tileStar = builder.createIntegerConstant(
1418
- clauseLocation, builder.getIntegerType(32),
1419
- /* STAR */ -1);
+ clauseLocation, builder.getIntegerType(32), starCst);
1420
tileOperands.push_back(tileStar);
1421
}
1422
0 commit comments