Skip to content

Commit b246943

Browse files
committed
[VPlan] Add instantiation of VPUnrollPartAccessor<2> to fix link errors.
Speculative fix for missing definitions in some configs, including https://lab.llvm.org/buildbot/#/builders/159/builds/18760
1 parent dfca6c0 commit b246943

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ unsigned VPUnrollPartAccessor<PartOpIdx>::getUnrollPart(VPUser &U) const {
389389
return 0;
390390
}
391391

392+
namespace llvm {
393+
template class VPUnrollPartAccessor<2>;
394+
}
395+
392396
VPInstruction::VPInstruction(unsigned Opcode, CmpInst::Predicate Pred,
393397
VPValue *A, VPValue *B, DebugLoc DL,
394398
const Twine &Name)

0 commit comments

Comments
 (0)