Skip to content

Commit 22c9f4c

Browse files
committed
[VPlan] Replace VPInterleaveRecipe::classof with VP_CLASSOF_IMPL. (NFC)
1 parent 100cf45 commit 22c9f4c

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,9 +1396,7 @@ class VPInterleaveRecipe : public VPRecipeBase {
13961396
}
13971397
~VPInterleaveRecipe() override = default;
13981398

1399-
static inline bool classof(const VPDef *D) {
1400-
return D->getVPDefID() == VPDef::VPInterleaveSC;
1401-
}
1399+
VP_CLASSOF_IMPL(VPDef::VPInterleaveSC)
14021400

14031401
/// Return the address accessed by this recipe.
14041402
VPValue *getAddr() const {

0 commit comments

Comments
 (0)