mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Early clobber operands are allowed to be defined at use indices. This fixes one
half of PR8813. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122205 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2a97ed13d
commit
1b031ddede
@ -690,7 +690,7 @@ MachineVerifier::visitMachineOperand(const MachineOperand *MO, unsigned MONum) {
|
||||
const LiveInterval &LI = LiveInts->getInterval(Reg);
|
||||
if (const VNInfo *VNI = LI.getVNInfoAt(DefIdx)) {
|
||||
assert(VNI && "NULL valno is not allowed");
|
||||
if (VNI->def != DefIdx) {
|
||||
if (VNI->def != DefIdx && !MO->isEarlyClobber()) {
|
||||
report("Inconsistent valno->def", MO, MONum);
|
||||
*OS << "Valno " << VNI->id << " is not defined at "
|
||||
<< DefIdx << " in " << LI << '\n';
|
||||
|
Loading…
x
Reference in New Issue
Block a user