mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[ExecutionDepsFix] Use range-based for loop. NFC
llvm-svn: 296093
This commit is contained in:
parent
2ad8f7769c
commit
12c200859a
@ -722,8 +722,7 @@ void ExeDepsFix::visitSoftInstr(MachineInstr *mi, unsigned mask) {
|
||||
// Kill off any remaining uses that don't match available, and build a list of
|
||||
// incoming DomainValues that we want to merge.
|
||||
SmallVector<LiveReg, 4> Regs;
|
||||
for (SmallVectorImpl<int>::iterator i=used.begin(), e=used.end(); i!=e; ++i) {
|
||||
int rx = *i;
|
||||
for (int rx : used) {
|
||||
assert(LiveRegs && "no space allocated for live registers");
|
||||
const LiveReg &LR = LiveRegs[rx];
|
||||
// This useless DomainValue could have been missed above.
|
||||
|
Loading…
Reference in New Issue
Block a user