Skip to content

Commit 77913b5

Browse files
committed
[VPlan] Add instantiation of VPUnrollPartAccessor<3> to fix link error.
Fix link errors with GCC by providing an explicit instantiation.
1 parent 457970d commit 77913b5

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
@@ -391,6 +391,7 @@ unsigned VPUnrollPartAccessor<PartOpIdx>::getUnrollPart(VPUser &U) const {
391391

392392
namespace llvm {
393393
template class VPUnrollPartAccessor<2>;
394+
template class VPUnrollPartAccessor<3>;
394395
}
395396

396397
VPInstruction::VPInstruction(unsigned Opcode, CmpInst::Predicate Pred,

0 commit comments

Comments
 (0)