diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-05-19 09:25:02 +0300 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-05-19 09:25:02 +0300 |
commit | 1128b36512b6d2d6ebf558c7972c2adbe5d57bbf (patch) | |
tree | 9d2ab48c60d07683e611779a6b82f095e350db37 /polly/lib | |
parent | d347f27f45e3c0dff91f6d6b8475f35c85ac9a4a (diff) |
Adapt to IRBuilder::CreateCall interface change
The IRBuilder::CreateCall interface was changed in r237624 and now requires an
initializer list.
llvm-svn: 237666
Diffstat (limited to 'polly/lib')
-rw-r--r-- | polly/lib/CodeGen/LoopGenerators.cpp | 4 | ||||
-rw-r--r-- | polly/lib/CodeGen/RuntimeDebugBuilder.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp index f0cdc81a695d..3bb61fa82cc0 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 edda9f2c7aa4..5d50450c8e9d 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); } |