[all-commits] [llvm/llvm-project] 281121: [MLIR][OpenMP] Add omp.loop_nest operation

Sergio Afonso via All-commits all-commits at lists.llvm.org
Fri Mar 29 09:16:05 PDT 2024


  Branch: refs/heads/users/skatrak/spr/loop-nest-01-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: 281121e682cdf5df7914f8b8b0a3b77c773d51cb
      https://github.com/llvm/llvm-project/commit/281121e682cdf5df7914f8b8b0a3b77c773d51cb
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Add omp.loop_nest operation

This patch introduces an operation intended to hold loop information associated
to the `omp.distribute`, `omp.simdloop`, `omp.taskloop` and `omp.wsloop`
operations. This is a stopgap solution to unblock work on transitioning these
operations to becoming wrappers, as discussed in
[this RFC](https://discourse.llvm.org/t/rfc-representing-combined-composite-constructs-in-the-openmp-dialect/76986).

Long-term, this operation will likely be replaced by `omp.canonical_loop`,
which is being designed to address missing support for loop transformations,
etc.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list