[llvm] [VPlan] Extend licm to sink replicate stores (PR #191026)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 10 07:20:48 PDT 2026
================
@@ -2557,14 +2564,29 @@ static void licm(VPlan &Plan) {
#ifndef NDEBUG
VPDominatorTree VPDT(Plan);
#endif
+ auto StoreGroups =
+ collectGroupedReplicateMemOps<Instruction::Store>(Plan, PSE, L);
+ VPTypeAnalysis TypeInfo(Plan);
+
----------------
artagnon wrote:
Not sure what you mean: don't we have SinkStoreInfo precisely to check whether a store should be skipped when checking aliasing? Not sure how we'd do that without collecting all the stores upfront?
https://github.com/llvm/llvm-project/pull/191026
More information about the llvm-commits
mailing list