summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-02 20:21:22 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-02 20:21:22 +0000
commit2a2459f365d953a1493ba95e9b43c5bc3e95d829 (patch)
tree398f7eade918d424c4256bfc4920bd9b88195a01 /llvm
parent2610889ebcc191881af3183f0c639ccbb9421523 (diff)
downloadbcm5719-llvm-2a2459f365d953a1493ba95e9b43c5bc3e95d829.tar.gz
bcm5719-llvm-2a2459f365d953a1493ba95e9b43c5bc3e95d829.zip
Make a few more range-based loops use explicit types.
No functional change. llvm-svn: 205458
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/ARM64/ARM64CleanupLocalDynamicTLSPass.cpp2
-rw-r--r--llvm/lib/Target/ARM64/ARM64ISelLowering.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64CleanupLocalDynamicTLSPass.cpp b/llvm/lib/Target/ARM64/ARM64CleanupLocalDynamicTLSPass.cpp
index feeefdbe606..e3f82487518 100644
--- a/llvm/lib/Target/ARM64/ARM64CleanupLocalDynamicTLSPass.cpp
+++ b/llvm/lib/Target/ARM64/ARM64CleanupLocalDynamicTLSPass.cpp
@@ -80,7 +80,7 @@ struct LDTLSCleanup : public MachineFunctionPass {
}
// Visit the children of this block in the dominator tree.
- for (auto N : *Node) {
+ for (MachineDomTreeNode *N : *Node) {
Changed |= VisitNode(N, TLSBaseAddrReg);
}
diff --git a/llvm/lib/Target/ARM64/ARM64ISelLowering.cpp b/llvm/lib/Target/ARM64/ARM64ISelLowering.cpp
index dc14c7e1a87..956c57a6495 100644
--- a/llvm/lib/Target/ARM64/ARM64ISelLowering.cpp
+++ b/llvm/lib/Target/ARM64/ARM64ISelLowering.cpp
@@ -4640,7 +4640,7 @@ static SDValue GenerateTBL(SDValue Op, ArrayRef<int> ShuffleMask,
unsigned BytesPerElt = EltVT.getSizeInBits() / 8;
SmallVector<SDValue, 8> TBLMask;
- for (auto Val : ShuffleMask) {
+ for (int Val : ShuffleMask) {
for (unsigned Byte = 0; Byte < BytesPerElt; ++Byte) {
unsigned Offset = Byte + Val * BytesPerElt;
TBLMask.push_back(DAG.getConstant(Offset, MVT::i32));
OpenPOWER on IntegriCloud