[Mlir-commits] [mlir] [mlir][vector] Fix parser of vector.transfer_read (PR #133721)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Apr 3 09:15:44 PDT 2025
================
@@ -525,6 +525,15 @@ func.func @test_vector.transfer_read(%arg0: memref<?x?xvector<2x3xf32>>) {
// -----
+func.func @test_vector.transfer_read(%arg1: memref<?xindex>) -> vector<3x4xi32> {
+ %c3_i32 = arith.constant 3 : i32
+ // expected-error at +1 {{expected the same rank for the vector and the results of the permutation map}}
+ %0 = vector.transfer_read %arg1[%c3_i32, %c3_i32], %c3_i32 : memref<?xindex>, vector<3x4xi32>
----------------
douyixuan wrote:
Thanks, I’ve updated @test_vector.transfer_write too. You can check the new issue here: #134268. Apologies, I currently don’t have the necessary write permissions to assign it.
https://github.com/llvm/llvm-project/pull/133721
More information about the Mlir-commits
mailing list