forked from OSchip/llvm-project
7af61f6bcd
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 |
||
---|---|---|
.. | ||
IR | ||
Pass | ||
TestDialect | ||
Transforms | ||
CMakeLists.txt |