Skip to content

Commit 5b4e00c

Browse files
committed
annotate private symbols for export for unit tests
1 parent d743892 commit 5b4e00c

File tree

1 file changed

+3
-3
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ class VPIRInstruction : public VPRecipeBase {
12791279

12801280
/// Create a new VPIRPhi for \p \I, if it is a PHINode, otherwise create a
12811281
/// VPIRInstruction.
1282-
static VPIRInstruction *create(Instruction &I);
1282+
LLVM_ABI_FOR_TEST static VPIRInstruction *create(Instruction &I);
12831283

12841284
VP_CLASSOF_IMPL(VPDef::VPIRInstructionSC)
12851285

@@ -1293,7 +1293,7 @@ class VPIRInstruction : public VPRecipeBase {
12931293
void execute(VPTransformState &State) override;
12941294

12951295
/// Return the cost of this VPIRInstruction.
1296-
InstructionCost computeCost(ElementCount VF,
1296+
LLVM_ABI_FOR_TEST InstructionCost computeCost(ElementCount VF,
12971297
VPCostContext &Ctx) const override;
12981298

12991299
Instruction &getInstruction() const { return I; }
@@ -1332,7 +1332,7 @@ class VPIRInstruction : public VPRecipeBase {
13321332
/// cast/dyn_cast/isa and execute() implementation. A single VPValue operand is
13331333
/// allowed, and it is used to add a new incoming value for the single
13341334
/// predecessor VPBB.
1335-
struct VPIRPhi : public VPIRInstruction, public VPPhiAccessors {
1335+
struct LLVM_ABI_FOR_TEST VPIRPhi : public VPIRInstruction, public VPPhiAccessors {
13361336
VPIRPhi(PHINode &PN) : VPIRInstruction(PN) {}
13371337

13381338
static inline bool classof(const VPRecipeBase *U) {

0 commit comments

Comments
 (0)