[llvm] [VPlan] Introduce removeInvariantStoresOfReduction (NFCI) (PR #158680)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 22 02:28:14 PDT 2025


================
@@ -634,6 +634,48 @@ void VPlanTransforms::createLoopRegions(VPlan &Plan) {
   TopRegion->getEntryBasicBlock()->setName("vector.body");
 }
 
+void VPlanTransforms::removeInvariantStoresOfReduction(
----------------
fhahn wrote:

I am not sure if it is worth moving this out, as long as it is based on LLVM IR references

https://github.com/llvm/llvm-project/pull/158680


More information about the llvm-commits mailing list