mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Refactor X86 target to separate MC code from Target code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135930 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -167,7 +167,7 @@ static unsigned determineREX(const MachineInstr &MI) {
|
||||
const MachineOperand& MO = MI.getOperand(i);
|
||||
if (MO.isReg()) {
|
||||
unsigned Reg = MO.getReg();
|
||||
if (X86InstrInfo::isX86_64NonExtLowByteReg(Reg))
|
||||
if (X86II::isX86_64NonExtLowByteReg(Reg))
|
||||
REX |= 0x40;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user