[llvm] [LV] Strip redundant fn in VPBuilder (NFC) (PR #147499)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 03:31:17 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-transforms
Author: Ramkumar Ramachandra (artagnon)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/147499.diff
1 Files Affected:
- (modified) llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h (-6)
``````````diff
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); }
``````````
</details>
https://github.com/llvm/llvm-project/pull/147499
More information about the llvm-commits
mailing list