[llvm] dcbc8a0 - [LV] Remove unused widenCallInstruction declaration (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 20 07:20:50 PDT 2022


Author: Florian Hahn
Date: 2022-09-20T15:20:28+01:00
New Revision: dcbc8a0daafcbfbd3c9c07a4c664a1c485ee3279

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

LOG: [LV] Remove unused widenCallInstruction declaration (NFC).

The definition and uses have been removed a while ago. Clean up the
unused declaration.

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 5b5b4c71278da..8990d2bdb8559 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -477,11 +477,6 @@ class InnerLoopVectorizer {
   /// complex control flow around the loops.
   virtual std::pair<BasicBlock *, Value *> createVectorizedLoopSkeleton();
 
-  /// Widen a single call instruction within the innermost loop.
-  void widenCallInstruction(CallInst &CI, VPValue *Def, VPUser &ArgOperands,
-                            VPTransformState &State,
-                            Intrinsic::ID VectorIntrinsicID);
-
   /// Fix the vectorized code, taking care of header phi's, live-outs, and more.
   void fixVectorizedLoop(VPTransformState &State, VPlan &Plan);
 


        


More information about the llvm-commits mailing list