diff options
author | Sergio Afonso <safonsof@amd.com> | 2025-02-25 10:31:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 10:31:49 +0000 |
commit | 446899e7bed5555c2bacfe0d09c4f4f00c41bc0f (patch) | |
tree | 652d3d31e47771ad1e61e06dd025dd225d384fa4 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp | |
parent | 9fc2f786934599c51427cf6f581450ee951ece4a (diff) | |
download | llvm-446899e7bed5555c2bacfe0d09c4f4f00c41bc0f.zip llvm-446899e7bed5555c2bacfe0d09c4f4f00c41bc0f.tar.gz llvm-446899e7bed5555c2bacfe0d09c4f4f00c41bc0f.tar.bz2 |
[MLIR][OpenMP] Host lowering of distribute-parallel-do/for (#127819)
This patch adds support for translating composite `omp.parallel` +
`omp.distribute` + `omp.wsloop` loops to LLVM IR on the host. This is
done by passing an updated `WorksharingLoopType` to the call to
`applyWorkshareLoop` associated to the lowering of the `omp.wsloop`
operation, so that `__kmpc_dist_for_static_init` is called at runtime in
place of `__kmpc_for_static_init`.
Existing translation rules take care of creating a parallel region to
hold the workshared and workdistributed loop.
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions