mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Make a few more range-based loops use explicit types.
No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04194e05db
commit
bc413d65a2
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user