diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-07-01 22:01:54 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-07-01 22:01:54 +0000 |
commit | 3bd03c709930114405fca1eaaae1eef8b2be2d58 (patch) | |
tree | 737a509cbf7b2af8a29282b93224a0ede1799c74 /llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | |
parent | df58625e3c7a7ab7daac7afca76bcb176b471062 (diff) | |
download | bcm5719-llvm-3bd03c709930114405fca1eaaae1eef8b2be2d58.tar.gz bcm5719-llvm-3bd03c709930114405fca1eaaae1eef8b2be2d58.zip |
[DAG] Pass the argument list to the CallLoweringInfo via move semantics. NFCI.
The argument list vector is never used after it has been passed to the
CallLoweringInfo and moving it to the CallLoweringInfo is cleaner and
pretty much as cheap as keeping a pointer to it.
llvm-svn: 212135
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp index c3a9131fb76..3dcc0df349d 100644 --- a/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp +++ b/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp @@ -191,7 +191,7 @@ EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, .setCallee(TLI.getLibcallCallingConv(RTLIB::MEMSET), Type::getVoidTy(*DAG.getContext()), DAG.getExternalSymbol(TLI.getLibcallName(RTLIB::MEMSET), - TLI.getPointerTy()), &Args, 0) + TLI.getPointerTy()), std::move(Args), 0) .setDiscardResult(); std::pair<SDValue,SDValue> CallResult = TLI.LowerCallTo(CLI); |