[Mlir-commits] [mlir] Fix unsupported transpose ops for scalable vectors in LowerVectorTransfer (PR #86163)

Crefeda Rodrigues llvmlistbot at llvm.org
Fri Mar 22 07:19:42 PDT 2024


================
@@ -269,7 +280,7 @@ struct TransferWriteNonPermutationLowering
                                     missingInnerDim.size());
     // Mask: add unit dims at the end of the shape.
     Value newMask;
-    if (op.getMask())
+    if (op.getMask() && !op.getVectorType().isScalable())
----------------
cfRod wrote:

We can erase the unsupported transpose. Similar to how we do it TransferWritePermutationLowering?

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


More information about the Mlir-commits mailing list