[AMDGPU] Fixes -Wrange-loop-analysis warnings
authorMark de Wever <koraq@xs4all.nl>
Sun, 22 Dec 2019 18:39:28 +0000 (19:39 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sun, 22 Dec 2019 18:39:28 +0000 (19:39 +0100)
commit2d903cc9656d8b55d267ad21a2f21f63b9fcc3ab
treedf3f509484d3ad33431bce6848756fdc8f3ef60d
parent9c11026c1b0180f66e4b2a70611ec4f2d21ed3f7
[AMDGPU] Fixes -Wrange-loop-analysis warnings

This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

Differential Revision: https://reviews.llvm.org/D71815
llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
llvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp