llvm-project/mlir/test/lib
Jacques Pienaar 7af61f6bcd Add compatible query method to infer type interface
A return type that differs from the inferred return type need not indicate that an operation is invalid (e.g., tensor<*xf32> vs tensor<10xf32>) but they should be compatible for the operation to be considered valid. Add method to query if inferred type is compatible with return type.

Also add InferTypeOpIntefaceDefault trait that considers equality and compatibility as the same. Currently an op has to opt in to using it explicitly.

PiperOrigin-RevId: 279085639
2019-11-07 07:51:45 -08:00
..
IR Add support for replacing all uses of a symbol. 2019-10-24 10:47:27 -07:00
Pass Add support for generating reproducers on pass crash and failure. 2019-10-10 19:36:54 -07:00
TestDialect Add compatible query method to infer type interface 2019-11-07 07:51:45 -08:00
Transforms Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
CMakeLists.txt Add support for walking the uses of a symbol. 2019-10-08 10:21:59 -07:00