[llvm] [VPlan] Remove unused inferScalarTypeForRecipe declaration (NFC). (PR #194450)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat May 2 10:32:44 PDT 2026


https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/194450

>From e0302d6d657f62ef47f40cd2639ae48dc426b86b Mon Sep 17 00:00:00 2001
From: Florian Hahn <flo at fhahn.com>
Date: Mon, 27 Apr 2026 21:02:50 +0100
Subject: [PATCH] [VPlan] Remove unused inferScalarTypeForRecipe declaration
 (NFC).

The declaration is not used, remove it.
---
 llvm/lib/Transforms/Vectorize/VPlanAnalysis.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h b/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h
index 626439929084e..384cb7858e2c9 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanAnalysis.h
@@ -23,7 +23,6 @@ class VPBlendRecipe;
 class VPInstruction;
 class VPWidenRecipe;
 class VPWidenCallRecipe;
-class VPWidenIntOrFpInductionRecipe;
 class VPWidenMemoryRecipe;
 class VPReplicateRecipe;
 class VPRecipeBase;
@@ -56,7 +55,6 @@ class VPTypeAnalysis {
   Type *inferScalarTypeForRecipe(const VPInstruction *R);
   Type *inferScalarTypeForRecipe(const VPWidenCallRecipe *R);
   Type *inferScalarTypeForRecipe(const VPWidenRecipe *R);
-  Type *inferScalarTypeForRecipe(const VPWidenIntOrFpInductionRecipe *R);
   Type *inferScalarTypeForRecipe(const VPWidenMemoryRecipe *R);
   Type *inferScalarTypeForRecipe(const VPReplicateRecipe *R);
 



More information about the llvm-commits mailing list