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


================
@@ -1726,10 +1744,10 @@ bool llvm::canConstantBeExtended(const APInt *C, Type *NarrowType,
 
 TargetTransformInfo::OperandValueInfo
 VPCostContext::getOperandInfo(VPValue *V) const {
-  if (!V->isLiveIn())
-    return {};
+  if (auto *LI = dyn_cast<VPIRValue>(V))
----------------
ayalz wrote:

Here VPSymbolicValue (with UV) is irrelevant?

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


More information about the llvm-commits mailing list