[llvm] e544d9c - [VPlan] Remove unused VPBuilder::insert member (NFC).

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 08:38:06 PDT 2023


Author: Florian Hahn
Date: 2023-08-30T16:35:55+01:00
New Revision: e544d9cc36cc775ad0e7657fb66690a79dc91e82

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

LOG: [VPlan] Remove unused VPBuilder::insert member (NFC).

Added: 
    

Modified: 
    llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
index bc7e0b74f8d0aa..a0d496babad3cc 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
@@ -116,12 +116,6 @@ class VPBuilder {
     InsertPt = IP;
   }
 
-  /// Insert and return the specified instruction.
-  VPInstruction *insert(VPInstruction *I) const {
-    BB->insert(I, InsertPt);
-    return I;
-  }
-
   /// Create an N-ary operation with \p Opcode, \p Operands and set \p Inst as
   /// its underlying Instruction.
   VPValue *createNaryOp(unsigned Opcode, ArrayRef<VPValue *> Operands,


        


More information about the llvm-commits mailing list