[all-commits] [llvm/llvm-project] e7ccc7: [MLIR][Flang][OpenMP] Remove omp.parallel from loo...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Fri Aug 23 06:48:57 PDT 2024
Branch: refs/heads/users/skatrak/dpd-01-parallel-wrapper
Home: https://github.com/llvm/llvm-project
Commit: e7ccc7718df4482f3b793b7e784357597dd6dd41
https://github.com/llvm/llvm-project/commit/e7ccc7718df4482f3b793b7e784357597dd6dd41
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.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][Flang][OpenMP] Remove omp.parallel from loop wrapper ops
This patch updates the `omp.parallel` operation according to the results of
the discussion in [this RFC](https://discourse.llvm.org/t/rfc-disambiguation-between-loop-and-block-associated-omp-parallelop/79972).
It is removed from the set of loop wrapper operations, changing the expected
MLIR representation for composite `distribute parallel do/for` the following:
```mlir
omp.parallel {
...
omp.distribute {
omp.wsloop {
omp.loop_nest ... { ... }
omp.terminator
}
omp.terminator
}
...
omp.terminator
}
```
MLIR verifiers for operations impacted by this representation change are
updated, as well as related tests. The `LoopWrapperInterface` is also updated,
since it's no longer representing an optional "role" of an operation but a
mandatory set of restrictions instead.
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