diff options
author | Alex Zinenko <zinenko@google.com> | 2021-01-05 16:04:00 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2021-01-07 13:33:50 +0100 |
commit | 10164a2e50b4d7064bd02e7403aae6dd319cdd64 (patch) | |
tree | 6354f346a852ba10ac689b89b4efc28520bd8d3a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 044b892c79b31a77bc0e6f52a0ec97c58b5b89b7 (diff) | |
download | llvm-10164a2e50b4d7064bd02e7403aae6dd319cdd64.zip llvm-10164a2e50b4d7064bd02e7403aae6dd319cdd64.tar.gz llvm-10164a2e50b4d7064bd02e7403aae6dd319cdd64.tar.bz2 |
[mlir] Refactor translation of OpenMP dialect ops to LLVM IR
The original implementation of the OpenMP dialect to LLVM IR translation has
been relying on a stack of insertion points for delayed insertion of branch
instructions that correspond to terminator ops. This is an intrusive into
ModuleTranslation and makes the translation non-local. A recent addition of the
WsLoop translation exercised another approach where the parent op is
responsible for converting terminators of all blocks in its regions. Use this
approach for other OpenMP dialect operations with regions, remove the stack and
deduplicate the code for converting such regions.
Reviewed By: kiranchandramohan
Differential Revision: https://reviews.llvm.org/D94086
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions