diff options
author | Alex Zinenko <zinenko@google.com> | 2020-11-23 20:29:27 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-11-24 21:12:56 +0100 |
commit | 119545f4338efacabf99e06eeca965913f6617f2 (patch) | |
tree | 573a3c6885657e406e422266f47be31940a97de4 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9c97e4ef4529ee2b518af6c1f2f68d2634946b3a (diff) | |
download | llvm-119545f4338efacabf99e06eeca965913f6617f2.zip llvm-119545f4338efacabf99e06eeca965913f6617f2.tar.gz llvm-119545f4338efacabf99e06eeca965913f6617f2.tar.bz2 |
[mlir] Add conversion from SCF parallel loops to OpenMP
Introduce a conversion pass from SCF parallel loops to OpenMP dialect
constructs - parallel region and workshare loop. Loops with reductions are not
supported because the OpenMP dialect cannot model them yet.
The conversion currently targets only one level of parallelism, i.e. only
one top-level `omp.parallel` operation is produced even if there are nested
`scf.parallel` operations that could be mapped to `omp.wsloop`. Nested
parallelism support is left for future work.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D91982
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions