Skip to content

Commit

Permalink
[llvm] [bug] Fixing the crash in release tests introduced by a typo in
Browse files Browse the repository at this point in the history
…#5381 where we need a deep copy of arglist. (#5441)
  • Loading branch information
feisuzhu committed Jul 18, 2022
1 parent 08f6d60 commit 5d5cd9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taichi/codegen/llvm/llvm_codegen_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class LLVMModuleBuilder {
std::vector<llvm::Value *> args = arglist;
check_func_call_signature(func->getFunctionType(), func->getName(), args,
builder);
return builder->CreateCall(func, arglist);
return builder->CreateCall(func, args);
}

template <typename... Args>
Expand Down

0 comments on commit 5d5cd9f

Please sign in to comment.