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

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 27 12:15:23 PST 2025


================
@@ -78,6 +78,8 @@ raw_ostream &llvm::operator<<(raw_ostream &OS, const VPRecipeBase &R) {
 }
 #endif
 
+Type *VPLiveIn::getType() const { return getUnderlyingValue()->getType(); }
+
----------------
ayalz wrote:

Better placed next to VPValue and VPDefValue methods below?

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


More information about the llvm-commits mailing list