mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
One day, physical register live ranges will be sensible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb9dce3806
commit
8c4564287d
@ -908,6 +908,11 @@ void MachineVerifier::verifyLiveIntervals() {
|
||||
if (MRI->use_empty(LI.reg))
|
||||
continue;
|
||||
|
||||
// Physical registers have much weirdness going on, mostly from coalescing.
|
||||
// We should probably fix it, but for now just ignore them.
|
||||
if (TargetRegisterInfo::isPhysicalRegister(LI.reg))
|
||||
continue;
|
||||
|
||||
assert(LVI->first == LI.reg && "Invalid reg to interval mapping");
|
||||
|
||||
for (LiveInterval::const_vni_iterator I = LI.vni_begin(), E = LI.vni_end();
|
||||
|
Loading…
Reference in New Issue
Block a user