Split `InferShapedTypeOpInterface` to create `ReifyRankedShapedTypeInterface`.
The `reifyReturnTypeShapesPerResultDim` method supports shape inference for rsults that are ranked types. These are used lower in the codegeneration stack than its counter part `reifyReturnTypeShapes` which also supports unranked types, and is more suited for use higher up the compilation stack. To have separation of concerns, this method is split into its own interface. See discussion : https://llvm.discourse.group/t/better-layering-for-infershapedtypeopinterface/3823 Differential Revision: https://reviews.llvm.org/D106133
Loading
Please sign in to comment