[Mlir-commits] [mlir] [mlir] Fix MemRefType alignment in ConvertVectorToLLVM (PR #137389)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Apr 30 12:24:30 PDT 2025


================
@@ -1394,6 +1394,11 @@ def ConvertVectorToLLVMPass : Pass<"convert-vector-to-llvm"> {
            "bool", /*default=*/"true",
            "Allows compiler to assume vector indices fit in 32-bit if that "
      "yields faster code">,
+    Option<"useVectorAlignment", "use-vector-alignment",
----------------
banach-space wrote:

Given that we don't test any hardware upstream that would require this, we should make sure that the rationale for this flag is clearly documented.

Could you extend this with a note saying that this is for hardware which requires "vector alignment"?

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


More information about the Mlir-commits mailing list