Skip to content

Commit af51411

Browse files
committed
Commits
1 parent 0d17f86 commit af51411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/ExpandVariadics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ bool ExpandVariadics::expandCall(Module &M, IRBuilder<> &Builder, CallBase *CB,
809809
Value *Dst = NF ? NF : CI->getCalledOperand();
810810
FunctionType *NFTy = inlinableVariadicFunctionType(M, VarargFunctionType);
811811

812-
NewCB = CallInst::Create(NFTy, Dst, Args, OpBundles, "", CI);
812+
NewCB = CallInst::Create(NFTy, Dst, Args, OpBundles, "", CI->getIterator());
813813

814814
CallInst::TailCallKind TCK = CI->getTailCallKind();
815815
assert(TCK != CallInst::TCK_MustTail);

0 commit comments

Comments
 (0)