File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2065,14 +2065,12 @@ class LLVM_ABI_FOR_TEST VPHeaderPHIRecipe : public VPSingleDefRecipe,
20652065 ~VPHeaderPHIRecipe () override = default ;
20662066
20672067 // / Method to support type inquiry through isa, cast, and dyn_cast.
2068- static inline bool classof (const VPRecipeBase *B ) {
2069- return B ->getVPDefID () >= VPDef::VPFirstHeaderPHISC &&
2070- B ->getVPDefID () <= VPDef::VPLastHeaderPHISC;
2068+ static inline bool classof (const VPRecipeBase *R ) {
2069+ return R ->getVPDefID () >= VPDef::VPFirstHeaderPHISC &&
2070+ R ->getVPDefID () <= VPDef::VPLastHeaderPHISC;
20712071 }
20722072 static inline bool classof (const VPValue *V) {
2073- auto *B = V->getDefiningRecipe ();
2074- return B && B->getVPDefID () >= VPRecipeBase::VPFirstHeaderPHISC &&
2075- B->getVPDefID () <= VPRecipeBase::VPLastHeaderPHISC;
2073+ return isa<VPHeaderPHIRecipe>(V->getDefiningRecipe ());
20762074 }
20772075
20782076 // / Generate the phi nodes.
You can’t perform that action at this time.
0 commit comments