summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-02-19 23:13:10 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-02-19 23:13:10 +0000
commit4c2b0781a5748620adc5529cd986f3f2a7d32b80 (patch)
tree6af96d70909ffe5750b0d35129238219a762f13c /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent1ec3c5bc995c31d304e951da88ae4f26431adad9 (diff)
downloadbcm5719-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/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 6aaf880583d..d4375f88b41 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -8990,7 +8990,7 @@ static SDValue CombineBaseUpdate(SDNode *N,
MemInt->getMemOperand());
// Update the uses.
- std::vector<SDValue> NewResults;
+ SmallVector<SDValue, 5> NewResults;
for (unsigned i = 0; i < NumResultVecs; ++i) {
NewResults.push_back(SDValue(UpdN.getNode(), i));
}
OpenPOWER on IntegriCloud