[llvm-branch-commits] [llvm] [mlir] [MLIR][OpenMP] Support device shared memory for recipe ops (PR #238364)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 3 06:49:00 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>[code=1] tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPToLLVMIRTranslation.dir/OpenMPToLLVMIRTranslation.cpp.o</summary>

```
FAILED: [code=1] tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPToLLVMIRTranslation.dir/OpenMPToLLVMIRTranslation.cpp.o
sccache /opt/llvm/bin/clang++ -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -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 -fdiagnostics-color -ffunction-sections -fdata-sections -Wundef -Werror=mismatched-tags -Werror=global-constructors -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPToLLVMIRTranslation.dir/OpenMPToLLVMIRTranslation.cpp.o -MF tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPToLLVMIRTranslation.dir/OpenMPToLLVMIRTranslation.cpp.o.d -o tools/mlir/lib/Target/LLVMIR/Dialect/OpenMP/CMakeFiles/obj.MLIROpenMPToLLVMIRTranslation.dir/OpenMPToLLVMIRTranslation.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1235:52: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1235 |       vars.push_back({blockArg, mlirVar, privatizer});
|                                                    ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:2815:21: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::SectionsOp>' requested here
2815 |   ReductionVarsInfo redInfo(sectionsOp);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:2934:21: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::ScopeOp>' requested here
2934 |   ReductionVarsInfo reductionInfo(scopeOp);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/bits/stl_construct.h:133:38: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::TeamsOp>' requested here
133 |       ::new(static_cast<void*>(__p)) _Tp(std::forward<_Args>(__args)...);
|                                      ^
/usr/lib/gcc/x86_64-linux-gnu/15/../../../../include/c++/15/optional:298:9: note: in instantiation of function template specialization 'std::_Construct<(anonymous namespace)::ReductionVarsInfo, mlir::omp::TeamsOp &>' requested here
298 |           std::_Construct(std::__addressof(this->_M_payload._M_value),
|                ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:3106:18: note: in instantiation of function template specialization 'std::optional<(anonymous namespace)::ReductionVarsInfo>::emplace<mlir::omp::TeamsOp &>' requested here
3106 |     teamsRedInfo.emplace(op);
|                  ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:5222:21: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::WsloopOp>' requested here
5222 |   ReductionVarsInfo reductionInfo(wsloopOp);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:5421:21: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::ParallelOp>' requested here
5421 |   ReductionVarsInfo reductionInfo(opInst);
|                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:1807:53: error: missing field 'sharedAllocs' initializer [-Werror,-Wmissing-field-initializers]
1807 |       vars.push_back({blockArg, mlirVar, decl, byRef});
|                                                     ^
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp:5631:21: note: in instantiation of function template specialization '(anonymous namespace)::ReductionVarsInfo::ReductionVarsInfo<mlir::omp::SimdOp>' requested here
5631 |   ReductionVarsInfo reductionInfo(simdOp);
|                     ^
7 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/238364


More information about the llvm-branch-commits mailing list