[mlir] Support WsLoopOp in OpenMP to LLVM dialect conversion
authorAlex Zinenko <zinenko@google.com>
Mon, 23 Nov 2020 19:45:30 +0000 (20:45 +0100)
committerAlex Zinenko <zinenko@google.com>
Mon, 23 Nov 2020 22:28:02 +0000 (23:28 +0100)
commitf7d033f4d80f476246a70f165e7455639818f907
tree1d36b35adf9dff456cfb3f191d3e658c8e5d581c
parent0a20660c8fcb5bb8469e323585eeaecacea67c44
[mlir] Support WsLoopOp in OpenMP to LLVM dialect conversion

It is a simple conversion that only requires to change the region argument
types, generalize it from ParallelOp.

Reviewed By: kiranchandramohan

Differential Revision: https://reviews.llvm.org/D91989
mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir