[VPlan] Replace VPBranchOnMaskSC::classof with VP_CLASSOF_IMPL. (NFC)
authorFlorian Hahn <flo@fhahn.com>
Wed, 18 Jan 2023 12:14:57 +0000 (12:14 +0000)
committerFlorian Hahn <flo@fhahn.com>
Wed, 18 Jan 2023 12:14:58 +0000 (12:14 +0000)
llvm/lib/Transforms/Vectorize/VPlan.h

index 36702d0..69eaf57 100644 (file)
@@ -1563,10 +1563,7 @@ public:
       addOperand(BlockInMask);
   }
 
-  /// Method to support type inquiry through isa, cast, and dyn_cast.
-  static inline bool classof(const VPDef *D) {
-    return D->getVPDefID() == VPDef::VPBranchOnMaskSC;
-  }
+  VP_CLASSOF_IMPL(VPDef::VPBranchOnMaskSC)
 
   /// Generate the extraction of the appropriate bit from the block mask and the
   /// conditional branch.