[llvm-commits] [polly] r135321 - /polly/trunk/lib/CodeGeneration.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Fri Jul 15 15:54:41 PDT 2011
Author: grosser
Date: Fri Jul 15 17:54:41 2011
New Revision: 135321
URL: http://llvm.org/viewvc/llvm-project?rev=135321&view=rev
Log:
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 at gmail.com>
Modified:
polly/trunk/lib/CodeGeneration.cpp
Modified: polly/trunk/lib/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGeneration.cpp?rev=135321&r1=135320&r2=135321&view=diff
==============================================================================
--- polly/trunk/lib/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGeneration.cpp Fri Jul 15 17:54:41 2011
@@ -1028,8 +1028,7 @@
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);
More information about the llvm-commits
mailing list