[llvm] [VPlan] Speed up VPSlotTracker by using ModuleSlotTracker (PR #139881)

Igor Kirillov via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 06:50:56 PDT 2025


================
@@ -1546,6 +1540,34 @@ void VPSlotTracker::assignNames(const VPBasicBlock *VPBB) {
       assignName(Def);
 }
 
+std::string VPSlotTracker::getName(const VPValue *V) {
+  auto *UV = V->getUnderlyingValue();
+  auto *VPI = dyn_cast_or_null<VPInstruction>(V->getDefiningRecipe());
----------------
igogo-x86 wrote:

I've pull this branch outside and turned argument from VPValue to Value, now we don't need to do any assumptions about vpvalues or recipes

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


More information about the llvm-commits mailing list