[llvm] [VPlan] Fix classof() in VPWiden{Load|Store}Recipe NFC. (PR #119691)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 05:48:41 PST 2024


================
@@ -2966,7 +2966,15 @@ struct VPWidenLoadRecipe final : public VPWidenMemoryRecipe, public VPValue {
                                  getDebugLoc());
   }
 
-  VP_CLASSOF_IMPL(VPDef::VPWidenLoadSC);
+  static inline bool classof(const VPRecipeBase *R) {
----------------
david-arm wrote:

I'm not sure how this works. Isn't there already an actual VPWidenLoadEVLRecipe that corresponds to VPWidenLoadEVLSC?

https://github.com/llvm/llvm-project/pull/119691


More information about the llvm-commits mailing list