Remove unnecessary copying or replace it with moves in a bunch of places.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 4 Oct 2014 16:55:56 +0000 (16:55 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 4 Oct 2014 16:55:56 +0000 (16:55 +0000)
commitdbc6d9b9d7f71b25c6ea4264659460f81908e7e2
tree6a9c2a8dfee0b8d9e7a538dca1b8ba74e5130d60
parent53b95f3fb1f1f2a8fde8ee866a8e754cb3faddc8
Remove unnecessary copying or replace it with moves in a bunch of places.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219061 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/CodeGen/StackMaps.h
lib/CodeGen/AsmPrinter/DwarfUnit.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/StackMaps.cpp
lib/DebugInfo/DWARFDebugAbbrev.cpp
lib/DebugInfo/DWARFDebugFrame.cpp
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
lib/Target/Mips/MipsAnalyzeImmediate.cpp
lib/Target/NVPTX/NVPTXUtilities.cpp
lib/Target/R600/AMDGPUPromoteAlloca.cpp
lib/Target/R600/R600ControlFlowFinalizer.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Transforms/Scalar/ConstantHoisting.cpp