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