[llvm] [LoadStoreVectorizer] Propagate alignment through contiguous chain (PR #145733)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 22 09:18:39 PDT 2025
================
@@ -21,6 +21,43 @@
using namespace llvm;
+static bool tryToPropagateAlign(Function &F, const DataLayout &DL) {
+ bool Changed = false;
+
+ for (BasicBlock &BB : F) {
----------------
nikic wrote:
Can we integrate this in the existing loop, to avoid walking the whole function one more time?
https://github.com/llvm/llvm-project/pull/145733
More information about the llvm-commits
mailing list