[llvm] 4386848 - [VPlan] Add explicit VPUnrollPartAccessor<1> instantiation.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 27 06:06:32 PDT 2025


Author: Florian Hahn
Date: 2025-07-27T14:05:23+01:00
New Revision: 43868487760377808ad5cd8ae56a43f396666ec2

URL: https://github.com/llvm/llvm-project/commit/43868487760377808ad5cd8ae56a43f396666ec2
DIFF: https://github.com/llvm/llvm-project/commit/43868487760377808ad5cd8ae56a43f396666ec2.diff

LOG: [VPlan] Add explicit VPUnrollPartAccessor<1> instantiation.

This should fix a build-failure with GCC, including
https://lab.llvm.org/buildbot/#/builders/105/builds/10685.

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
index f979fcdcc477a..225658b76827e 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -427,6 +427,7 @@ unsigned VPUnrollPartAccessor<PartOpIdx>::getUnrollPart(const VPUser &U) const {
 }
 
 namespace llvm {
+template class VPUnrollPartAccessor<1>;
 template class VPUnrollPartAccessor<2>;
 template class VPUnrollPartAccessor<3>;
 }


        


More information about the llvm-commits mailing list