[llvm] [LV] Strip redundant fn in VPBuilder (NFC) (PR #147499)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 03:30:43 PDT 2025
https://github.com/artagnon created https://github.com/llvm/llvm-project/pull/147499
None
>From 0e4b18d366c66198c76dbf3dbd85e8f54584eeb8 Mon Sep 17 00:00:00 2001
From: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: Tue, 8 Jul 2025 11:21:46 +0100
Subject: [PATCH] [LV] Strip redundant fn in VPBuilder (NFC)
---
llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
index 144f35e10132f..0eaa6d9bf03da 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
@@ -64,12 +64,6 @@ class VPBuilder {
return tryInsertInstruction(new VPInstruction(Opcode, Operands, DL, Name));
}
- VPInstruction *createInstruction(unsigned Opcode,
- std::initializer_list<VPValue *> Operands,
- DebugLoc DL, const Twine &Name = "") {
- return createInstruction(Opcode, ArrayRef<VPValue *>(Operands), DL, Name);
- }
-
public:
VPBuilder() = default;
VPBuilder(VPBasicBlock *InsertBB) { setInsertPoint(InsertBB); }
More information about the llvm-commits
mailing list