[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
diff --git a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp index bc0bacd..aff0171 100644 --- a/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp +++ b/llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -389,6 +389,10 @@ return 0; } +namespace llvm { +template class VPUnrollPartAccessor<2>; +} + VPInstruction::VPInstruction(unsigned Opcode, CmpInst::Predicate Pred, VPValue *A, VPValue *B, DebugLoc DL, const Twine &Name)