Skip to content

Commit 4386848

Browse files
committed
[VPlan] Add explicit VPUnrollPartAccessor<1> instantiation.
This should fix a build-failure with GCC, including https://lab.llvm.org/buildbot/#/builders/105/builds/10685.
1 parent 89ae085 commit 4386848

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ unsigned VPUnrollPartAccessor<PartOpIdx>::getUnrollPart(const VPUser &U) const {
427427
}
428428

429429
namespace llvm {
430+
template class VPUnrollPartAccessor<1>;
430431
template class VPUnrollPartAccessor<2>;
431432
template class VPUnrollPartAccessor<3>;
432433
}

0 commit comments

Comments
 (0)