[Mlir-commits] [mlir] [mlir][vector] Add support for scalable vectors to VectorLinearize (PR #86786)

Cullen Rhodes llvmlistbot at llvm.org
Thu Mar 28 04:30:07 PDT 2024


================
@@ -489,7 +489,9 @@ struct TestFlattenVectorTransferPatterns
   Option<unsigned> targetVectorBitwidth{
       *this, "target-vector-bitwidth",
       llvm::cl::desc(
-          "Minimum vector bitwidth to enable the flattening transformation"),
+          "Minimum vector bitwidth to enable the flattening transformation. "
+          "For scalable vectors this is the base size that's known at compile "
+          "time."),
----------------
c-rhodes wrote:

Sure, or simply `"For scalable vectors this is the size corresponding to vscale=1."`. To me the important thing is mentioning vscale=1 as I think base size is a bit ambiguous.

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


More information about the Mlir-commits mailing list