[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",
+ "bool", /*default=*/"false",
+ "Use the preferred alignment of a vector type in load/store "
+ "operations instead of the alignment of the element type of the "
+ "memref">,
----------------
banach-space wrote:
[nit] Please align with the line above.
https://github.com/llvm/llvm-project/pull/137389
More information about the Mlir-commits
mailing list