[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


================
@@ -3773,7 +3776,7 @@ class VPDerivedIVRecipe : public VPSingleDefRecipe {
   }
 
   Type *getScalarType() const {
-    return getStartValue()->getLiveInIRValue()->getType();
+    return cast<VPLiveIn>(getStartValue())->getValue()->getType();
----------------
ayalz wrote:

ditto

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


More information about the llvm-commits mailing list