summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-05-19 06:25:02 +0000
committerTobias Grosser <tobias@grosser.es>2015-05-19 06:25:02 +0000
commit1128b36512b6d2d6ebf558c7972c2adbe5d57bbf (patch)
tree9d2ab48c60d07683e611779a6b82f095e350db37
parentd347f27f45e3c0dff91f6d6b8475f35c85ac9a4a (diff)
downloadbcm5719-llvm-1128b36512b6d2d6ebf558c7972c2adbe5d57bbf.tar.gz
bcm5719-llvm-1128b36512b6d2d6ebf558c7972c2adbe5d57bbf.zip
Adapt to IRBuilder::CreateCall interface change
The IRBuilder::CreateCall interface was changed in r237624 and now requires an initializer list. llvm-svn: 237666
-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