mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Make a few more range-based loops use explicit types.
No functional change. llvm-svn: 205458
This commit is contained in:
parent
fc351c0ca9
commit
77e0767757
@ -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…
x
Reference in New Issue
Block a user