[llvm] f1e1b48 - [LV] Strip redundant fn in VPBuilder (NFC) (#147499)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 05:41:34 PDT 2025
Author: Ramkumar Ramachandra
Date: 2025-07-08T13:41:29+01:00
New Revision: f1e1b480238e83db62b383cfd88fb1b96804cec0
URL: https://github.com/llvm/llvm-project/commit/f1e1b480238e83db62b383cfd88fb1b96804cec0
DIFF: https://github.com/llvm/llvm-project/commit/f1e1b480238e83db62b383cfd88fb1b96804cec0.diff
LOG: [LV] Strip redundant fn in VPBuilder (NFC) (#147499)
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 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