[llvm] cd9563a - [VPlan] Remove unused VPInstruction::clone member (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 07:53:46 PDT 2023
Author: Florian Hahn
Date: 2023-08-30T15:53:39+01:00
New Revision: cd9563ae17bf4682ac51033eceb00970389a08ad
URL: https://github.com/llvm/llvm-project/commit/cd9563ae17bf4682ac51033eceb00970389a08ad
DIFF: https://github.com/llvm/llvm-project/commit/cd9563ae17bf4682ac51033eceb00970389a08ad.diff
LOG: [VPlan] Remove unused VPInstruction::clone member (NFC).
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlan.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlan.h b/llvm/lib/Transforms/Vectorize/VPlan.h
index 81ad514d72faea..62b314d1c5c5c6 100644
--- a/llvm/lib/Transforms/Vectorize/VPlan.h
+++ b/llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1052,11 +1052,6 @@ class VPInstruction : public VPRecipeWithIRFlags, public VPValue {
VP_CLASSOF_IMPL(VPDef::VPInstructionSC)
- VPInstruction *clone() const {
- SmallVector<VPValue *, 2> Operands(operands());
- return new VPInstruction(Opcode, Operands, DL, Name);
- }
-
unsigned getOpcode() const { return Opcode; }
/// Generate the instruction.
More information about the llvm-commits
mailing list