diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:13:54 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-05-18 22:13:54 +0000 |
| commit | ff6409d096fc554259eb4a91a493d1638cc53474 (patch) | |
| tree | e4b9a9a396b2d0d34e866bf62320b1072ca400d2 /llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | |
| parent | 6ba93ec71d59538375d361a9828224887633ffca (diff) | |
| download | bcm5719-llvm-ff6409d096fc554259eb4a91a493d1638cc53474.tar.gz bcm5719-llvm-ff6409d096fc554259eb4a91a493d1638cc53474.zip | |
Simplify IRBuilder::CreateCall* by using ArrayRef+initializer_list/braced init only
llvm-svn: 237624
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCCTRLoops.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCCTRLoops.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp index c595f44388e..69afd681d40 100644 --- a/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp +++ b/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp @@ -553,7 +553,7 @@ bool PPCCTRLoops::convertToCTRLoop(Loop *L) { IRBuilder<> CondBuilder(CountedExitBranch); Value *DecFunc = Intrinsic::getDeclaration(M, Intrinsic::ppc_is_decremented_ctr_nonzero); - Value *NewCond = CondBuilder.CreateCall(DecFunc); + Value *NewCond = CondBuilder.CreateCall(DecFunc, {}); Value *OldCond = CountedExitBranch->getCondition(); CountedExitBranch->setCondition(NewCond); |

