[mlir] Allow adding extra class declarations to interfaces.
authorriverriddle@google.com <riverriddle@google.com>
Sun, 16 Feb 2020 07:54:28 +0000 (23:54 -0800)
committerRiver Riddle <riddleriver@gmail.com>
Sun, 16 Feb 2020 07:54:42 +0000 (23:54 -0800)
commit857b655d7aac50462ffd0154b9d6c4f18119ddfb
tree30e9ca3818dcc6e524a1d8510c33d124c8941503
parent9b07512fd3cd4541872dd2e96a697172f3f7a243
[mlir] Allow adding extra class declarations to interfaces.

Summary: This matches the similar feature on operation definitions.

Reviewers: jpienaar, antiagainst

Reviewed By: jpienaar, antiagainst

Subscribers: mehdi_amini, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74438
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/TableGen/OpInterfaces.h
mlir/lib/TableGen/OpInterfaces.cpp
mlir/tools/mlir-tblgen/OpInterfacesGen.cpp