mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Fix a range-loop-analysis warning.
This commit is contained in:
parent
bf4a14e46a
commit
2a1ac5b937
@ -899,7 +899,7 @@ void Liveness::resetLiveIns() {
|
||||
B.removeLiveIn(I);
|
||||
// Add the newly computed live-ins.
|
||||
const RegisterAggr &LiveIns = LiveMap[&B];
|
||||
for (const RegisterRef &R : make_range(LiveIns.rr_begin(), LiveIns.rr_end()))
|
||||
for (const RegisterRef R : make_range(LiveIns.rr_begin(), LiveIns.rr_end()))
|
||||
B.addLiveIn({MCPhysReg(R.Reg), R.Mask});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user