[llvm] [LoadStoreVectorizer] Propagate alignment through contiguous chain (PR #145733)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 10 02:06:50 PDT 2025
================
@@ -0,0 +1,450 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -passes=load-store-vectorizer -S < %s | FileCheck %s
+
+; The IR has the first float3 labeled with align 16, and that 16 should
+; be propagated such that the second set of 4 values
+; can also be vectorized together.
----------------
arsenm wrote:
This has the align 16 with `opt -attributor-enable=module -O3`. The default attribute passes do a worse job it seems
https://github.com/llvm/llvm-project/pull/145733
More information about the llvm-commits
mailing list