File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -1756,7 +1756,7 @@ genLoopNestClauses(lower::AbstractConverter &converter,
1756
1756
1757
1757
llvm::SmallVector<int64_t > sizeValues;
1758
1758
auto *ompCons{eval.getIf <parser::OpenMPConstruct>()};
1759
- collectTileSizesFromOpenMPConstruct (ompCons, sizeValues, semaCtx);
1759
+ collectTileSizesFromOpenMPConstruct (ompCons, sizeValues, semaCtx);
1760
1760
if (sizeValues.size () > 0 )
1761
1761
clauseOps.tileSizes = sizeValues;
1762
1762
}
Original file line number Diff line number Diff line change 33
33
using namespace Fortran ::semantics;
34
34
35
35
template <typename T>
36
- MaybeIntExpr
37
- EvaluateIntExpr (SemanticsContext &context, const T &expr) {
36
+ MaybeIntExpr EvaluateIntExpr (SemanticsContext &context, const T &expr) {
38
37
if (MaybeExpr maybeExpr{
39
38
Fold (context.foldingContext (), AnalyzeExpr (context, expr))}) {
40
39
if (auto *intExpr{Fortran::evaluate::UnwrapExpr<SomeIntExpr>(*maybeExpr)}) {
@@ -45,8 +44,8 @@ EvaluateIntExpr(SemanticsContext &context, const T &expr) {
45
44
}
46
45
47
46
template <typename T>
48
- std::optional<std::int64_t >
49
- EvaluateInt64 (SemanticsContext &context, const T &expr) {
47
+ std::optional<std::int64_t > EvaluateInt64 (SemanticsContext &context,
48
+ const T &expr) {
50
49
return Fortran::evaluate::ToInt64 (EvaluateIntExpr (context, expr));
51
50
}
52
51
@@ -639,8 +638,7 @@ static void convertLoopBounds(lower::AbstractConverter &converter,
639
638
// Contains a loop construct with an inner tiling construct.
640
639
void collectTileSizesFromOpenMPConstruct (
641
640
const parser::OpenMPConstruct *ompCons,
642
- llvm::SmallVectorImpl<int64_t > &tileSizes,
643
- SemanticsContext &semaCtx) {
641
+ llvm::SmallVectorImpl<int64_t > &tileSizes, SemanticsContext &semaCtx) {
644
642
if (!ompCons)
645
643
return ;
646
644
You can’t perform that action at this time.
0 commit comments