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/XCore/XCoreLowerThreadLocal.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/XCore/XCoreLowerThreadLocal.cpp')
| -rw-r--r-- | llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp b/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp index 9fb63e990a1..996c6f59346 100644 --- a/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp +++ b/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp @@ -209,7 +209,7 @@ bool XCoreLowerThreadLocal::lowerGlobal(GlobalVariable *GV) { IRBuilder<> Builder(Inst); Function *GetID = Intrinsic::getDeclaration(GV->getParent(), Intrinsic::xcore_getid); - Value *ThreadID = Builder.CreateCall(GetID); + Value *ThreadID = Builder.CreateCall(GetID, {}); SmallVector<Value *, 2> Indices; Indices.push_back(Constant::getNullValue(Type::getInt64Ty(Ctx))); Indices.push_back(ThreadID); |

