diff options
| author | Sergio Afonso <safonsof@amd.com> | 2024-04-15 10:33:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-15 10:33:54 +0100 |
| commit | f2923e31b64907df44ae641114228ad6e283627f (patch) | |
| tree | 3f1ca94906a99da2d60269c115603d5cfa225d5c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8ddaf750746d7f9b5f7e878870b086edc0f55326 (diff) | |
[MLIR][OpenMP] Introduce the LoopWrapperInterface (#87232)
This patch defines a common interface to be shared by all OpenMP loop
wrapper operations. The main restrictions these operations must meet in
order to be considered a wrapper are:
- They contain a single region.
- Their region contains a single block.
- Their block only contains another loop wrapper or `omp.loop_nest` and
a terminator.
The new interface is attached to the `omp.parallel`, `omp.wsloop`,
`omp.simdloop`, `omp.distribute` and `omp.taskloop` operations. It is
not currently enforced that these operations meet the wrapper
restrictions, which would break existing OpenMP loop-generating code.
Rather, this will be introduced progressively in subsequent patches.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
