[Mlir-commits] [mlir] [mlir][ArmSME] Lower transfer_write + transpose to vertical store (PR #71181)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Nov 8 02:07:20 PST 2023


================
@@ -153,12 +171,35 @@ struct TransferWriteToArmSMELowering
     if (!arm_sme::isValidSMETileVectorType(vType))
       return failure();
 
+    assert(writeOp.getTransferRank() == 2 &&
+           "expected a permutation_map with result dims of the same rank as "
+           "the vector type");
----------------
banach-space wrote:

Wouldn't the Op verifier catch this case before we ever get here?

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


More information about the Mlir-commits mailing list