[Mlir-commits] [mlir] [mlir] [Vector] Add IndexBitWidth option to vector-to-llvm pass (PR #128154)

Rishabh Bali llvmlistbot at llvm.org
Thu Feb 27 03:07:54 PST 2025


================
@@ -1414,6 +1414,9 @@ def ConvertVectorToLLVMPass : Pass<"convert-vector-to-llvm"> {
            "vector::VectorTransformsOptions",
            /*default=*/"vector::VectorTransformsOptions()",
            "Options to lower some operations like contractions and transposes.">,
+    Option<"indexBitwidth", "index-bitwidth", "unsigned",
+           /*default=kDeriveIndexBitwidthFromDataLayout*/"0",
----------------
quic-rb10 wrote:

Could you please elaborate on this? I have added some of my findings regarding the indexbitwidth from datalayout in a reply to another one of your comments.

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


More information about the Mlir-commits mailing list