[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 2 12:41:28 PST 2026
================
@@ -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) ||
----------------
fhahn wrote:
Ditto as above
https://github.com/llvm/llvm-project/pull/172758
More information about the llvm-commits
mailing list