No functional change intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205443
91177308-0d34-0410-b5e6-
96231b3b80d8
unsigned BytesPerElt = EltVT.getSizeInBits() / 8;
SmallVector<SDValue, 8> TBLMask;
- for (ArrayRef<int>::iterator I = ShuffleMask.begin(), E = ShuffleMask.end();
- I != E; ++I) {
+ for (auto Val : ShuffleMask) {
for (unsigned Byte = 0; Byte < BytesPerElt; ++Byte) {
- unsigned Offset = Byte + *I * BytesPerElt;
+ unsigned Offset = Byte + Val * BytesPerElt;
TBLMask.push_back(DAG.getConstant(Offset, MVT::i32));
}
}