[Mlir-commits] [mlir] [mlir][vector][spirv] Lower `vector.to_elements` to SPIR-V (PR #146618)

Jakub Kuderski llvmlistbot at llvm.org
Wed Jul 2 08:38:51 PDT 2025


================
@@ -1022,6 +1022,51 @@ struct VectorStepOpConvert final : OpConversionPattern<vector::StepOp> {
   }
 };
 
+struct VectorToElementOpConvert final
+    : public OpConversionPattern<vector::ToElementsOp> {
----------------
kuhar wrote:

nit: `public` is the default for structs
```suggestion
    : OpConversionPattern<vector::ToElementsOp> {
```


https://github.com/llvm/llvm-project/pull/146618


More information about the Mlir-commits mailing list