[mlir] Move PyConcreteType to header. NFC.
authorJohn Demme <john.demme@microsoft.com>
Wed, 28 Apr 2021 23:16:45 +0000 (16:16 -0700)
committerJohn Demme <john.demme@microsoft.com>
Wed, 28 Apr 2021 23:40:56 +0000 (16:40 -0700)
commit32e2fec726beec2800f3db493bea8b4bdbbde936
tree077dba179859305c86502c3c5aa51bea9d1f482f
parent86f291ebb2dfc5a93e1ee83b2d5965dcfa5d8bb1
[mlir] Move PyConcreteType to header. NFC.

This allows out-of-tree users to derive PyConcreteType to bind custom
types.

The Type version of https://reviews.llvm.org/D101063/new/

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D101496
mlir/lib/Bindings/Python/IRModule.h
mlir/lib/Bindings/Python/IRTypes.cpp