diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-15 22:54:41 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-15 22:54:41 +0000 |
commit | 0679e176447bc116f8b5cbb97df1109fbaa1c45c (patch) | |
tree | 79a638f99413c9138f66460c610e9372a5915c8f | |
parent | 945864d6dc45c9ac62f0d9fbbbd3771e48441031 (diff) | |
download | bcm5719-llvm-0679e176447bc116f8b5cbb97df1109fbaa1c45c.tar.gz bcm5719-llvm-0679e176447bc116f8b5cbb97df1109fbaa1c45c.zip |
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
-rw-r--r-- | polly/lib/CodeGeneration.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp index 87f16651c13..efe0182a198 100644 --- a/polly/lib/CodeGeneration.cpp +++ b/polly/lib/CodeGeneration.cpp @@ -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); |