mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[NFC][llvm-mca] Fix compiler warning
Fix clang compiler warning from `-Wrange-loop-analysis`. Reviewed By: andreadb Differential Revision: https://reviews.llvm.org/D95997
This commit is contained in:
parent
5cc002b97f
commit
6d08b0343e
@ -93,7 +93,7 @@ void InstructionInfoView::collectData(
|
||||
MutableArrayRef<InstructionInfoViewData> IIVD) const {
|
||||
const llvm::MCSubtargetInfo &STI = getSubTargetInfo();
|
||||
const MCSchedModel &SM = STI.getSchedModel();
|
||||
for (const auto &I : zip(getSource(), IIVD)) {
|
||||
for (const auto I : zip(getSource(), IIVD)) {
|
||||
const MCInst &Inst = std::get<0>(I);
|
||||
InstructionInfoViewData &IIVDEntry = std::get<1>(I);
|
||||
const MCInstrDesc &MCDesc = MCII.get(Inst.getOpcode());
|
||||
|
Loading…
Reference in New Issue
Block a user