[Mlir-commits] [mlir] [mlir][vector] Implement lowering for 1D vector.deinterleave operations (PR #93042)
Benjamin Maxwell
llvmlistbot at llvm.org
Tue May 28 04:09:02 PDT 2024
================
@@ -2546,3 +2546,25 @@ func.func @vector_interleave_2d_scalable(%a: vector<2x[8]xi16>, %b: vector<2x[8]
%0 = vector.interleave %a, %b : vector<2x[8]xi16>
return %0 : vector<2x[16]xi16>
}
+
+// -----
+
+// CHECK-LABEL: @vector_deinterleave_1d
+// CHECK-SAME: (%[[SRC:.*]]: vector<4xi32>) -> (vector<2xi32>, vector<2xi32>)
+func.func @vector_deinterleave_1d(%a: vector<4xi32>) -> (vector<2xi32>, vector<2xi32>) {
+ // CHECK: %[[POI:.*]] = llvm.mlir.poison : vector<4xi32>
----------------
MacDue wrote:
No unnecessary/obscure abbreviations :slightly_smiling_face:
```suggestion
// CHECK: %[[POISON:.*]] = llvm.mlir.poison : vector<4xi32>
```
https://github.com/llvm/llvm-project/pull/93042
More information about the Mlir-commits
mailing list