Skip to content

Commit 0e93dbc

Browse files
authored
[flang] do concurrent: Enable delayed localization by default (#154303)
Enables delayed localization by default for `do concurrent`. Tested both gfortran and Fujitsu test suites. All tests pass for gfortran tests. For Fujitsu, enabled delayed localization passes more tests: Delayed localization disabled: Testing Time: 7251.76s Passed : 88520 Failed : 162 Executable Missing: 408 Delayed localization enabled: Testing Time: 7216.73s Passed : 88522 Failed : 160 Executable Missing: 408
1 parent 7170a81 commit 0e93dbc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flang/lib/Lower/Bridge.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2064,8 +2064,7 @@ class FirConverter : public Fortran::lower::AbstractConverter {
20642064
// TODO Promote to using `enableDelayedPrivatization` (which is enabled by
20652065
// default unlike the staging flag) once the implementation of this is more
20662066
// complete.
2067-
bool useDelayedPriv =
2068-
enableDelayedPrivatizationStaging && doConcurrentLoopOp;
2067+
bool useDelayedPriv = enableDelayedPrivatization && doConcurrentLoopOp;
20692068
llvm::SetVector<const Fortran::semantics::Symbol *> allPrivatizedSymbols;
20702069
llvm::SmallSet<const Fortran::semantics::Symbol *, 16> mightHaveReadHostSym;
20712070

0 commit comments

Comments
 (0)