[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 31 16:09:12 PST 2025


================
@@ -1449,7 +1467,7 @@ void VPSlotTracker::assignName(const VPValue *V) {
   const auto &[A, _] = VPValue2Name.try_emplace(V, BaseName);
   // Integer or FP constants with different types will result in he same string
   // due to stripping types.
-  if (V->isLiveIn() && isa<ConstantInt, ConstantFP>(UV))
+  if (isa<VPIRValue>(V) && isa<ConstantInt, ConstantFP>(UV))
----------------
ayalz wrote:

Here VPSymbolicValue (with UV) is irrelevant?

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


More information about the llvm-commits mailing list