[flang-commits] [flang] [mlir] [Flang][Openmp] Implement support for partial in unroll construct (PR #206642)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Jul 2 08:47:25 PDT 2026


https://github.com/tblah commented:

Thanks for the patch. I think this needs:

  1. A `mlir/test/Dialect/OpenMP/` test for `omp.unroll_partial` parser/printer/verifier coverage, analogous to the existing `cli-unroll-
  heuristic.mlir` coverage. This should cover the custom assembly form and invalid `unroll_factor` cases.

  2. A `mlir/test/Target/LLVMIR/` test for lowering `omp.unroll_partial` through `mlir-translate -mlir-to-llvmir`, analogous to the existing
  `openmp-cli-unroll-heuristic*.mlir` tests. The current Flang test only checks that lowering emits the MLIR op; it does not exercise the
  new LLVM IR translation path.


https://github.com/llvm/llvm-project/pull/206642


More information about the flang-commits mailing list