mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
This is the real fix for the previous register allocator problem.
Physical registers should not float around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -470,7 +470,7 @@ void Emitter::emitInstruction(MachineInstr &MI) {
|
||||
switch (Desc.TSFlags & X86II::FormMask) {
|
||||
default: assert(0 && "Unknown FormMask value in X86 MachineCodeEmitter!");
|
||||
case X86II::Pseudo:
|
||||
if (Opcode != X86::IMPLICIT_USE)
|
||||
if (Opcode != X86::IMPLICIT_USE && Opcode != X86::IMPLICIT_DEF)
|
||||
std::cerr << "X86 Machine Code Emitter: No 'form', not emitting: " << MI;
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user