Adapt to IRBuilder::CreateCall interface change

The IRBuilder::CreateCall interface was changed in r237624 and now requires an
initializer list.

llvm-svn: 237666
This commit is contained in:
Tobias Grosser 2015-05-19 06:25:02 +00:00
parent d347f27f45
commit 1128b36512
2 changed files with 3 additions and 3 deletions

View File

@ -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() {

View File

@ -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);
}