Skip to content

Commit 8978fe6

Browse files
committed
Fix typo
1 parent 5dcef4c commit 8978fe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/IRBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@ CallInst *IRBuilderBase::CreateConstrainedFPCall(
10831083
Function *Callee, ArrayRef<Value *> Args, const Twine &Name,
10841084
std::optional<RoundingMode> Rounding,
10851085
std::optional<fp::ExceptionBehavior> Except, FastMathFlags *FMF) {
1086-
llvm::SmallVector<Value *, 6> UseArgs;
1086+
llvm::SmallVector<Value *, 6> UseArgs(Args);
10871087

10881088
if (Intrinsic::hasConstrainedFPRoundingModeOperand(Callee->getIntrinsicID()))
10891089
UseArgs.push_back(getConstrainedFPRounding(Rounding));

0 commit comments

Comments
 (0)