diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-02-19 23:13:10 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-02-19 23:13:10 +0000 |
commit | 4c2b0781a5748620adc5529cd986f3f2a7d32b80 (patch) | |
tree | 6af96d70909ffe5750b0d35129238219a762f13c /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 1ec3c5bc995c31d304e951da88ae4f26431adad9 (diff) | |
download | bcm5719-llvm-4c2b0781a5748620adc5529cd986f3f2a7d32b80.tar.gz bcm5719-llvm-4c2b0781a5748620adc5529cd986f3f2a7d32b80.zip |
[CodeGen] Use ArrayRef instead of std::vector&. NFC.
The former lets us use SmallVectors. Do so in ARM and AArch64.
llvm-svn: 229925
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3c13b611ce2..e8d1acf60ab 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -466,7 +466,7 @@ void TargetLowering::DAGCombinerInfo::RemoveFromWorklist(SDNode *N) { } SDValue TargetLowering::DAGCombinerInfo:: -CombineTo(SDNode *N, const std::vector<SDValue> &To, bool AddTo) { +CombineTo(SDNode *N, ArrayRef<SDValue> To, bool AddTo) { return ((DAGCombiner*)DC)->CombineTo(N, &To[0], To.size(), AddTo); } |