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

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 02:59:56 PDT 2024


Author: Mel Chen
Date: 2024-04-17T17:59:52+08:00
New Revision: cbe148b730a04fc95eda9a43903f0af487884a96

URL: https://github.com/llvm/llvm-project/commit/cbe148b730a04fc95eda9a43903f0af487884a96
DIFF: https://github.com/llvm/llvm-project/commit/cbe148b730a04fc95eda9a43903f0af487884a96.diff

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

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 44885a95bd1020..20059f9d62d552 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