[flang-commits] [flang] [llvm] [flang][mlir] Add flang to mlir lowering for dyn_groupprivate (PR #180938)
via flang-commits
flang-commits at lists.llvm.org
Wed Feb 11 05:59:34 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 130772 tests passed
* 2929 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>[code=1] tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/ClauseProcessor.cpp.obj</summary>
```
FAILED: [code=1] tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/ClauseProcessor.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DFLANG_INCLUDE_TESTS=1 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\flang\lib\Lower -IC:\_work\llvm-project\llvm-project\flang\lib\Lower -IC:\_work\llvm-project\llvm-project\flang\include -Itools\flang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\_work\llvm-project\llvm-project\flang\..\mlir\include -imsvc tools\mlir\include -imsvc tools\clang\include -imsvc C:\_work\llvm-project\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\flang\lib\Lower\CMakeFiles\FortranLower.dir\OpenMP\ClauseProcessor.cpp.obj /Fdtools\flang\lib\Lower\CMakeFiles\FortranLower.dir\FortranLower.pdb -c -- C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp
In file included from C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp:13:
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.h(121,37): error: no type named 'DynGroupprivateClauseOps' in namespace 'mlir::omp'; did you mean 'CopyprivateClauseOps'?
121 | mlir::omp::DynGroupprivateClauseOps &result) const;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| CopyprivateClauseOps
tools\mlir\include\mlir/Dialect/OpenMP/OpenMPClauseOps.h.inc(32,8): note: 'CopyprivateClauseOps' declared here
32 | struct CopyprivateClauseOps {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(720,16): error: no type named 'DynGroupprivateClauseOps' in namespace 'mlir::omp'; did you mean 'CopyprivateClauseOps'?
720 | mlir::omp::DynGroupprivateClauseOps &result) const {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| CopyprivateClauseOps
tools\mlir\include\mlir/Dialect/OpenMP/OpenMPClauseOps.h.inc(32,8): note: 'CopyprivateClauseOps' declared here
32 | struct CopyprivateClauseOps {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(731,16): error: no member named 'accessGroup' in 'mlir::omp::CopyprivateClauseOps'
731 | result.accessGroup = mlir::omp::AccessGroupModifierAttr::get(
| ~~~~~~ ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(731,41): error: no member named 'AccessGroupModifierAttr' in namespace 'mlir::omp'
731 | result.accessGroup = mlir::omp::AccessGroupModifierAttr::get(
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(732,33): error: no member named 'AccessGroupModifier' in namespace 'mlir::omp'
732 | context, mlir::omp::AccessGroupModifier::cgroup);
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(742,16): error: no member named 'fallback' in 'mlir::omp::CopyprivateClauseOps'
742 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~ ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(742,38): error: no member named 'FallbackModifierAttr' in namespace 'mlir::omp'
742 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(743,33): error: no member named 'FallbackModifier' in namespace 'mlir::omp'
743 | context, mlir::omp::FallbackModifier::abort);
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(746,16): error: no member named 'fallback' in 'mlir::omp::CopyprivateClauseOps'
746 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~ ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(746,38): error: no member named 'FallbackModifierAttr' in namespace 'mlir::omp'
746 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(747,33): error: no member named 'FallbackModifier' in namespace 'mlir::omp'
747 | context, mlir::omp::FallbackModifier::default_mem);
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(750,16): error: no member named 'fallback' in 'mlir::omp::CopyprivateClauseOps'
750 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~ ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(750,38): error: no member named 'FallbackModifierAttr' in namespace 'mlir::omp'
750 | result.fallback = mlir::omp::FallbackModifierAttr::get(
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(751,33): error: no member named 'FallbackModifier' in namespace 'mlir::omp'
751 | context, mlir::omp::FallbackModifier::null);
| ~~~~~~~~~~~^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.cpp(758,12): error: no member named 'dynGroupprivateSize' in 'mlir::omp::CopyprivateClauseOps'
758 | result.dynGroupprivateSize =
| ~~~~~~ ^
15 errors generated.
```
</details>
<details>
<summary>[code=1] tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.obj</summary>
```
FAILED: [code=1] tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.obj
sccache C:\clang\clang-msvc\bin\clang-cl.exe /nologo -TP -DFLANG_INCLUDE_TESTS=1 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\flang\lib\Lower -IC:\_work\llvm-project\llvm-project\flang\lib\Lower -IC:\_work\llvm-project\llvm-project\flang\include -Itools\flang\include -Iinclude -IC:\_work\llvm-project\llvm-project\llvm\include -imsvc C:\_work\llvm-project\llvm-project\flang\..\mlir\include -imsvc tools\mlir\include -imsvc tools\clang\include -imsvc C:\_work\llvm-project\llvm-project\llvm\..\clang\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -Wno-deprecated-copy -Wno-string-conversion -Wno-ctad-maybe-unsupported /O2 /Ob2 -MD -UNDEBUG /EHs-c- /GR- -std:c++17 /showIncludes /Fotools\flang\lib\Lower\CMakeFiles\FortranLower.dir\OpenMP\OpenMP.cpp.obj /Fdtools\flang\lib\Lower\CMakeFiles\FortranLower.dir\FortranLower.pdb -c -- C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\OpenMP.cpp
In file included from C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\OpenMP.cpp:16:
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.h(121,37): error: no type named 'DynGroupprivateClauseOps' in namespace 'mlir::omp'; did you mean 'CopyprivateClauseOps'?
121 | mlir::omp::DynGroupprivateClauseOps &result) const;
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
| CopyprivateClauseOps
tools\mlir\include\mlir/Dialect/OpenMP/OpenMPClauseOps.h.inc(32,8): note: 'CopyprivateClauseOps' declared here
32 | struct CopyprivateClauseOps {
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\OpenMP.cpp(1742,38): error: non-const lvalue reference to type 'mlir::omp::CopyprivateClauseOps' cannot bind to a value of unrelated type 'mlir::omp::TargetOperands' (aka 'Clauses<AllocateClauseOps, BareClauseOps, DependClauseOps, DeviceClauseOps, HasDeviceAddrClauseOps, HostEvalClauseOps, IfClauseOps, InReductionClauseOps, IsDevicePtrClauseOps, MapClauseOps, NowaitClauseOps, PrivateClauseOps, ThreadLimitClauseOps>')
1742 | cp.processDynGroupprivate(stmtCtx, clauseOps);
| ^~~~~~~~~
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.h(121,63): note: passing argument to parameter 'result' here
121 | mlir::omp::DynGroupprivateClauseOps &result) const;
| ^
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\OpenMP.cpp(1881,38): error: non-const lvalue reference to type 'mlir::omp::CopyprivateClauseOps' cannot bind to a value of unrelated type 'mlir::omp::TeamsOperands' (aka 'Clauses<AllocateClauseOps, IfClauseOps, NumTeamsClauseOps, PrivateClauseOps, ReductionClauseOps, ThreadLimitClauseOps>')
1881 | cp.processDynGroupprivate(stmtCtx, clauseOps);
| ^~~~~~~~~
C:\_work\llvm-project\llvm-project\flang\lib\Lower\OpenMP\ClauseProcessor.h(121,63): note: passing argument to parameter 'result' here
121 | mlir::omp::DynGroupprivateClauseOps &result) const;
| ^
3 errors generated.
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/180938
More information about the flang-commits
mailing list