[MLIR] refactor cmake specification of tablegen'd interfaces.
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Wed, 13 May 2020 06:37:23 +0000 (23:37 -0700)
committerStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Wed, 13 May 2020 17:37:06 +0000 (10:37 -0700)
commitce3bbeb9159b30d6880fa5f71c0910007d0a6792
tree6f1957000777ddcff5b58dd625a12f4d4973a704
parentc82243d0675bad130d22a9301d3dc1e7cfb05c2f
[MLIR] refactor cmake specification of tablegen'd interfaces.

Introduce add_mlir_interface to avoid lots of boilerplate

Differential Revision: https://reviews.llvm.org/D79841
mlir/cmake/modules/AddMLIR.cmake
mlir/include/mlir/Interfaces/CMakeLists.txt
mlir/lib/Interfaces/CMakeLists.txt