[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:13 PST 2025


================
@@ -1757,7 +1775,7 @@ InstructionCost VPCostContext::getScalarizationOverhead(
   SmallPtrSet<const VPValue *, 4> UniqueOperands;
   SmallVector<Type *> Tys;
   for (auto *Op : Operands) {
-    if (Op->isLiveIn() ||
+    if (isa<VPIRValue>(Op) ||
----------------
ayalz wrote:

Here VPSymbolicValue (with UV) is irrelevant?

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


More information about the llvm-commits mailing list