[OpenMP][MLIR] Add a conversion pattern for the master op
authorKiran Chandramohan <kiran.chandramohan@arm.com>
Sun, 12 Sep 2021 10:13:14 +0000 (10:13 +0000)
committerKiran Chandramohan <kiran.chandramohan@arm.com>
Sun, 12 Sep 2021 10:13:40 +0000 (10:13 +0000)
commit187d9f8cd9d32ca0021619153dcb3ffb0b78b987
treedf2d0c55a58c4d1db3ff6e27e1f6fd025aa4b5b1
parent339c7340422425755cec4d28a6ff1d1f6ea4a528
[OpenMP][MLIR] Add a conversion pattern for the master op

The conversion pattern is particularly useful for conversion of
block arguments in the master op.

Reviewed By: ftynse

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