[llvm] e90630e - [VPlan] Remove unused createNaryOp (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 03:11:16 PST 2021
Author: Florian Hahn
Date: 2021-12-13T11:11:00Z
New Revision: e90630e5a501fc1ef3b8e56e9d35bb6588c4eea1
URL: https://github.com/llvm/llvm-project/commit/e90630e5a501fc1ef3b8e56e9d35bb6588c4eea1
DIFF: https://github.com/llvm/llvm-project/commit/e90630e5a501fc1ef3b8e56e9d35bb6588c4eea1.diff
LOG: [VPlan] Remove unused createNaryOp (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 a7d6609f8c56..93dad1975ae5 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
@@ -127,11 +127,6 @@ class VPBuilder {
NewVPInst->setUnderlyingValue(Inst);
return NewVPInst;
}
- VPValue *createNaryOp(unsigned Opcode,
- std::initializer_list<VPValue *> Operands,
- Instruction *Inst = nullptr) {
- return createNaryOp(Opcode, ArrayRef<VPValue *>(Operands), Inst);
- }
VPValue *createNot(VPValue *Operand) {
return createInstruction(VPInstruction::Not, {Operand});
More information about the llvm-commits
mailing list