[mlir][spirv] Change standard op patterns to consider type conversion
Previously we have a few patterns that were written with DRR. DRR at the moment does not work nicely with dialect conversion framework. It generates normal RewritePatterns, while the dialect conversion framework requires ConversionPatterns to take into consideration the type conversion. So this commit starts to change existing DRR patterns for standard ops to OpConversionPattern to incorporate the SPIR-V type conversion. All patterns are converted except the one for constant ops, which will happen in a subsequent commit. Differential Revision: https://reviews.llvm.org/D76245
Loading
Please sign in to comment