This patch updates VPWidenMemoryInstructionRecipe to use VPDef
to manage the value it produces instead of inheriting from VPValue.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Updated to keep VPWidenMemoryInstructionRecipe a VPValue which is then added to its VPDef. This simplifies things a bit.
llvm/lib/Transforms/Vectorize/VPlan.h | ||
---|---|---|
1253 | With this recipe being a VPDef we can drop the VPValue inheritance and create a VPValue (only) for loads, right? |
Thanks for taking a look Gil! Removed inheritance from VPValue, only create VPValue for loads.
llvm/lib/Transforms/Vectorize/VPlan.h | ||
---|---|---|
1253 | That's a good point, we should be able to model this better now. Updated the patch |
clang-tidy: warning: direct base 'llvm::VPUser' is inaccessible due to ambiguity:
not useful