summaryrefslogtreecommitdiffstats
path: root/polly/lib
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp4
-rw-r--r--polly/lib/CodeGen/RuntimeDebugBuilder.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index f0cdc81a695..3bb61fa82cc 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -235,7 +235,7 @@ void ParallelLoopGenerator::createCallJoinThreads() {
F = Function::Create(Ty, Linkage, Name, M);
}
- Builder.CreateCall(F);
+ Builder.CreateCall(F, {});
}
void ParallelLoopGenerator::createCallCleanupThread() {
@@ -251,7 +251,7 @@ void ParallelLoopGenerator::createCallCleanupThread() {
F = Function::Create(Ty, Linkage, Name, M);
}
- Builder.CreateCall(F);
+ Builder.CreateCall(F, {});
}
Function *ParallelLoopGenerator::createSubFnDefinition() {
diff --git a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
index edda9f2c7aa..5d50450c8e9 100644
--- a/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
+++ b/polly/lib/CodeGen/RuntimeDebugBuilder.cpp
@@ -74,6 +74,6 @@ void RuntimeDebugBuilder::createValuePrinter(PollyIRBuilder &Builder,
assert(Format && Ty->getPrimitiveSizeInBits() <= 64 && "Bad type to print.");
Value *FormatString = Builder.CreateGlobalStringPtr(Format);
- Builder.CreateCall2(getPrintF(Builder), FormatString, V);
+ Builder.CreateCall(getPrintF(Builder), {FormatString, V});
createFlush(Builder);
}
OpenPOWER on IntegriCloud