[Mlir-commits] [mlir] [mlir][vector] Propagate alignment from vector to llvm dialects. (PR #153482)
Erick Ochoa Lopez
llvmlistbot at llvm.org
Wed Aug 27 07:30:26 PDT 2025
================
@@ -299,8 +299,9 @@ class VectorGatherOpConversion
}
// Resolve alignment.
- unsigned align;
- if (failed(getVectorToLLVMAlignment(*this->getTypeConverter(), vType,
+ unsigned align = gather.getAlignment().value_or(0);
+ if (!align &&
+ failed(getVectorToLLVMAlignment(*this->getTypeConverter(), vType,
----------------
amd-eochoalo wrote:
Thanks for the review @banach-space! See here for the changes:
https://github.com/llvm/llvm-project/pull/153482/commits/b6e5aff035522beca59ca3bc07525ee5af3592d2
https://github.com/llvm/llvm-project/pull/153482/commits/746412a091c1cd9881449d1197cdd5fd0e99c959
https://github.com/llvm/llvm-project/pull/153482/commits/fdfc8738c4ef0806bf0ef2b810c7ac95bee4e9fe
https://github.com/llvm/llvm-project/pull/153482
More information about the Mlir-commits
mailing list