[llvm-branch-commits] [flang] [llvm] [flang][OpenMP] Switch OpenMP version from unsigned to llvm::omp::Version (PR #219822)
Krzysztof Parzyszek via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 1 07:16:35 PDT 2026
================
@@ -42,9 +42,9 @@ struct ConstructDecomposition {
llvm::omp::Directive compound,
const List<Clause> &clauses)
: semaCtx(semaCtx), mod(modOp), eval(ev) {
- tomp::ConstructDecompositionT decompose(
- mlir::omp::getOpenMPVersionAttribute(modOp), *this, compound,
- llvm::ArrayRef(clauses));
+ llvm::omp::Version version(mlir::omp::getOpenMPVersionAttribute(modOp));
----------------
kparzysz wrote:
Thanks for catching this. We had the same problem even before this change.
https://github.com/llvm/llvm-project/pull/219822
More information about the llvm-branch-commits
mailing list