mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 18:32:50 +00:00
Revert r69335 and r69336. They were causing build failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69347 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edf7cf80d8
commit
c3a76ef955
@ -667,7 +667,6 @@ bool X86InstrInfo::isMoveInstr(const MachineInstr& MI,
|
||||
default:
|
||||
return false;
|
||||
case X86::MOV8rr:
|
||||
case X86::MOV8rr_NOREX:
|
||||
case X86::MOV16rr:
|
||||
case X86::MOV32rr:
|
||||
case X86::MOV64rr:
|
||||
@ -1665,10 +1664,9 @@ bool X86InstrInfo::copyRegToReg(MachineBasicBlock &MBB,
|
||||
} else if (DestRC == &X86::GR16RegClass) {
|
||||
Opc = X86::MOV16rr;
|
||||
} else if (DestRC == &X86::GR8RegClass) {
|
||||
// Copying two or from a physical H register on x86-64 requires a NOREX
|
||||
// move. Otherwise use a normal move.
|
||||
if ((isHReg(DestReg) || isHReg(SrcReg)) &&
|
||||
TM.getSubtarget<X86Subtarget>().is64Bit())
|
||||
// Copying two or from a physical H register requires a NOREX move.
|
||||
// Otherwise use a normal move.
|
||||
if (isHReg(DestReg) || isHReg(SrcReg))
|
||||
Opc = X86::MOV8rr_NOREX;
|
||||
else
|
||||
Opc = X86::MOV8rr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user