diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2025-07-31 11:33:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-31 11:33:04 +0100 |
commit | 20f6ec4b29e045a29023b31f776da31eb9c011a4 (patch) | |
tree | 028c480792c812908ae194c2db4d5c53966f53d9 /llvm/lib | |
parent | 16d73839b1a5393ae094d709a0eef2b89cb3735f (diff) | |
download | llvm-20f6ec4b29e045a29023b31f776da31eb9c011a4.zip llvm-20f6ec4b29e045a29023b31f776da31eb9c011a4.tar.gz llvm-20f6ec4b29e045a29023b31f776da31eb9c011a4.tar.bz2 |
[VPlan] Make VPBuilder APIs uniformly take ArrayRef (NFC) (#151484)
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h index f57ce0c..ea0fa06 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h +++ b/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h @@ -170,8 +170,7 @@ public: new VPInstruction(Opcode, Operands, Flags, DL, Name)); } - VPInstruction *createNaryOp(unsigned Opcode, - std::initializer_list<VPValue *> Operands, + VPInstruction *createNaryOp(unsigned Opcode, ArrayRef<VPValue *> Operands, Type *ResultTy, const VPIRFlags &Flags = {}, DebugLoc DL = DebugLoc::getUnknown(), const Twine &Name = "") { @@ -180,7 +179,7 @@ public: } VPInstruction *createOverflowingOp(unsigned Opcode, - std::initializer_list<VPValue *> Operands, + ArrayRef<VPValue *> Operands, VPRecipeWithIRFlags::WrapFlagsTy WrapFlags, DebugLoc DL = DebugLoc::getUnknown(), const Twine &Name = "") { |