mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
CodeGeneration: Adjust call to CreateCall.
Needed to avoid compile error after the patch "Convert CallInst and InvokeInst APIs to use ArrayRef. Contributed by: Sebastian Pop <sebpop@gmail.com> llvm-svn: 135321
This commit is contained in:
@@ -1028,8 +1028,7 @@ public:
|
||||
|
||||
Function *parallelStartFunction =
|
||||
M->getFunction("GOMP_parallel_loop_runtime_start");
|
||||
Builder.CreateCall(parallelStartFunction, Arguments.begin(),
|
||||
Arguments.end());
|
||||
Builder.CreateCall(parallelStartFunction, Arguments);
|
||||
|
||||
// Create call to the subfunction.
|
||||
Builder.CreateCall(SubFunction, subfunctionParam);
|
||||
|
||||
Reference in New Issue
Block a user