[llvm] [VPlan] Version VPValue names in VPSlotTracker. (PR #81411)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 15:14:29 PDT 2024


================
@@ -1373,32 +1362,84 @@ VPInterleavedAccessInfo::VPInterleavedAccessInfo(VPlan &Plan,
   visitRegion(Plan.getVectorLoopRegion(), Old2New, IAI);
 }
 
-void VPSlotTracker::assignSlot(const VPValue *V) {
-  if (V->getUnderlyingValue())
+void VPSlotTracker::assignSlotOrName(const VPValue *V) {
----------------
ayalz wrote:

```suggestion
void VPSlotTracker::assignName(const VPValue *V) {
```
given that both names and slots are placed in VPValue2Name?

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


More information about the llvm-commits mailing list