forked from OSchip/llvm-project
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:
parent
d347f27f45
commit
1128b36512
|
@ -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() {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue