Skip generating C++ for "DeclareOpInterfaceMethods" in op interface gen.
authorJing Pu <jingpu@google.com>
Fri, 13 Dec 2019 21:57:49 +0000 (13:57 -0800)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Sat, 14 Dec 2019 01:08:33 +0000 (17:08 -0800)
commit27ae92516b925e5b8e416032117ef8922fca4d37
treef4ff0ba75294e18af0b3832a8d1a7ce0ba0f2399
parent7923abd357b82b14d1f97c2f013f41e388f77a17
Skip generating C++ for "DeclareOpInterfaceMethods" in op interface gen.

This is needed for calling the generator on a .td file that contains both OpInterface definitions and op definitions with DeclareOpInterfaceMethods<...> Traits.

PiperOrigin-RevId: 285465784
mlir/test/mlir-tblgen/op-interface.td [new file with mode: 0644]
mlir/tools/mlir-tblgen/OpInterfacesGen.cpp