Revert "Revert "[Flang][OpenMP][MLIR] Add declare target attribute set and interface...
authorAndrew Gozillon <Andrew.Gozillon@amd.com>
Mon, 22 May 2023 12:30:41 +0000 (07:30 -0500)
committerAndrew Gozillon <Andrew.Gozillon@amd.com>
Mon, 22 May 2023 12:36:18 +0000 (07:36 -0500)
commit231a6959025b3101942701b214c64762b55222c6
treeafebee3ef9cb11276d53296c3539c0841b383102
parent481b254e458bc195af16fef9625cf856ef87fced
Revert "Revert "[Flang][OpenMP][MLIR] Add declare target attribute set and interface for the OpenMP dialect""

This reverts commit aa6b47cdaf3cddc70b7af33c1edbda502ecb3d05.

And adds a fix (adding missing libraries
to CMakeLists.txt for the OpenMPDialect)
that allows failing builds to succeed.
flang/include/flang/Optimizer/Dialect/FIRDialect.h
flang/lib/Optimizer/Dialect/FIRDialect.cpp
flang/lib/Optimizer/Dialect/FIROps.cpp
flang/test/Fir/omp-declare-target-data.fir [new file with mode: 0644]
mlir/include/mlir/Dialect/OpenMP/OpenMPInterfaces.h
mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
mlir/lib/Dialect/OpenMP/CMakeLists.txt
mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
mlir/test/Dialect/OpenMP/attr.mlir