forked from OSchip/llvm-project
parent
16b85a6601
commit
e9be35596e
|
@ -362,12 +362,11 @@ void HexagonBlockRanges::computeInitialLiveRanges(InstrIndexMap &IndexMap,
|
|||
Clobbers.insert(R);
|
||||
}
|
||||
}
|
||||
#ifndef NDEBUG
|
||||
// Defs and clobbers can overlap, e.g.
|
||||
// %D0<def,dead> = COPY %vreg5, %R0<imp-def>, %R1<imp-def>
|
||||
for (RegisterRef R : Defs)
|
||||
assert(!Clobbers.count(R));
|
||||
for (RegisterRef R : Clobbers)
|
||||
assert(!Defs.count(R));
|
||||
#endif
|
||||
Clobbers.erase(R);
|
||||
|
||||
// Update maps for defs.
|
||||
for (RegisterRef S : Defs) {
|
||||
// Defs should already be expanded into subregs.
|
||||
|
|
Loading…
Reference in New Issue