[llvm] [VPlan] Add specialized VPValue subclasses for different types (NFC) (PR #172758)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 6 13:31:14 PST 2026
================
@@ -1727,10 +1735,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))
----------------
fhahn wrote:
renamed thanks
https://github.com/llvm/llvm-project/pull/172758
More information about the llvm-commits
mailing list