[Mlir-commits] [llvm] [mlir] [mlir][spirv] Add vector.interleave to spirv.VectorShuffle conversion (PR #93240)
Jakub Kuderski
llvmlistbot at llvm.org
Mon May 27 09:55:01 PDT 2024
================
@@ -578,6 +578,49 @@ struct VectorShuffleOpConvert final
}
};
+struct VectorInterleaveOpConvert final
+ : public OpConversionPattern<vector::InterleaveOp> {
+ using OpConversionPattern::OpConversionPattern;
+
+ LogicalResult
+ matchAndRewrite(vector::InterleaveOp interleaveOp, OpAdaptor adaptor,
+ ConversionPatternRewriter &rewriter) const override {
+ // Check the result vector type
----------------
kuhar wrote:
nit
```suggestion
// Check the result vector type.
```
```suggestion
// Check the result vector type
```
https://github.com/llvm/llvm-project/pull/93240
More information about the Mlir-commits
mailing list