diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-13 07:43:40 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-13 07:43:40 +0000 |
commit | e0b711864c8266e2ab53fb9817af52d9ec83e153 (patch) | |
tree | 3d701cfc06e27fc64807fd2233182b2699525828 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 960dee381d2a1b0d3fa1efe5916b52f90300d805 (diff) | |
download | bcm5719-llvm-e0b711864c8266e2ab53fb9817af52d9ec83e153.tar.gz bcm5719-llvm-e0b711864c8266e2ab53fb9817af52d9ec83e153.zip |
Pass SmallVector by const reference instead of by value.
llvm-svn: 186243
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 02fdb3fd883..dfb897082a9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -154,7 +154,7 @@ namespace { SDValue PromoteExtend(SDValue Op); bool PromoteLoad(SDValue Op); - void ExtendSetCCUses(SmallVector<SDNode*, 4> SetCCs, + void ExtendSetCCUses(const SmallVectorImpl<SDNode *> &SetCCs, SDValue Trunc, SDValue ExtLoad, SDLoc DL, ISD::NodeType ExtType); @@ -4367,7 +4367,7 @@ static bool ExtendUsesToFormExtLoad(SDNode *N, SDValue N0, return true; } -void DAGCombiner::ExtendSetCCUses(SmallVector<SDNode*, 4> SetCCs, +void DAGCombiner::ExtendSetCCUses(const SmallVectorImpl<SDNode *> &SetCCs, SDValue Trunc, SDValue ExtLoad, SDLoc DL, ISD::NodeType ExtType) { // Extend SetCC uses if necessary. |