[llvm] [VPlan] Fix classof() in VPWiden{Load|Store}Recipe NFC. (PR #119691)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 06:06:20 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) {
----------------
fhahn wrote:
Hmm, but `VPWidenLoadEVLRecipe` isn't a subclass of `VPWidenLoadRecipe`, so the `classof` here will be incorrect?
https://github.com/llvm/llvm-project/pull/119691
More information about the llvm-commits
mailing list