[llvm] [LV] Add initial legality checks for ee loops with stores (PR #145663)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 07:12:54 PDT 2025
================
@@ -1207,8 +1208,42 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
});
}
- if (!LAI->canVectorizeMemory())
- return canVectorizeIndirectUnsafeDependences();
+ if (LAI->canVectorizeMemory()) {
----------------
david-arm wrote:
Given the following code is still memory related I think it would be better to push these changes into `canVectorizeMemory` itself.
https://github.com/llvm/llvm-project/pull/145663
More information about the llvm-commits
mailing list