[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Set omp.composite attr for composite loop wrappers and add verifier checks (PR #102341)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Aug 12 04:44:37 PDT 2024
================
@@ -36,9 +36,9 @@ func.func @invalid_nested_wrapper(%lb : index, %ub : index, %step : index) {
omp.terminator
}
----------------
skatrak wrote:
Nit: I suppose it doesn't matter because the parent op's verifier fails before checking this one, but I think it makes sense to add the attribute to `omp.simd` as well here to make sure the only verifier error in this function is the one we are checking.
https://github.com/llvm/llvm-project/pull/102341
More information about the llvm-branch-commits
mailing list