[llvm] [LV][NFC] Remove the declaration of function `fixReduction`. (PR #88491)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 02:41:55 PDT 2024


https://github.com/Mel-Chen created https://github.com/llvm/llvm-project/pull/88491

None

>From 93781552b89ea7d6b6e60dd965d6f46bb557ddcb Mon Sep 17 00:00:00 2001
From: Mel Chen <mel.chen at sifive.com>
Date: Fri, 12 Apr 2024 01:55:02 -0700
Subject: [PATCH] [LV][NFC] Remove the declaration of function `fixReduction`.

---
 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 5535cc55e93216..897636f8b93b14 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -616,9 +616,6 @@ class InnerLoopVectorizer {
   void fixFixedOrderRecurrence(VPFirstOrderRecurrencePHIRecipe *PhiR,
                                VPTransformState &State);
 
-  /// Create code for the loop exit value of the reduction.
-  void fixReduction(VPReductionPHIRecipe *Phi, VPTransformState &State);
-
   /// Iteratively sink the scalarized operands of a predicated instruction into
   /// the block that was created for it.
   void sinkScalarOperands(Instruction *PredInst);



More information about the llvm-commits mailing list