[PATCH] D147172: [OpenMP][Flang][MLIR] Add lowering of TargetOp for host codegen

Jan Sjödin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 17:00:57 PDT 2023


jsjodin updated this revision to Diff 510969.
jsjodin added a comment.

Simplify the code by only passing the inputs, since they will be the same values in the outlined code. Add tests and improve comments.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147172/new/

https://reviews.llvm.org/D147172

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
  mlir/lib/Target/LLVMIR/CMakeLists.txt
  mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
  mlir/test/Target/LLVMIR/omptarget-llvm.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147172.510969.patch
Type: text/x-patch
Size: 16960 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230405/255243aa/attachment.bin>


More information about the llvm-commits mailing list