mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Don't abort on an aliasing physical register that does not have
a live interval. This is needed for some upcoming subreg changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9a77a92859
commit
70f2f65aac
@ -2235,7 +2235,7 @@ bool LiveIntervals::spillPhysRegAroundRegDefsUses(const LiveInterval &li,
|
||||
// If there are registers which alias PhysReg, but which are not a
|
||||
// sub-register of the chosen representative super register. Assert
|
||||
// since we can't handle it yet.
|
||||
assert(*AS == SpillReg || !allocatableRegs_[*AS] ||
|
||||
assert(*AS == SpillReg || !allocatableRegs_[*AS] || !hasInterval(*AS) ||
|
||||
tri_->isSuperRegister(*AS, SpillReg));
|
||||
|
||||
bool Cut = false;
|
||||
|
Loading…
Reference in New Issue
Block a user