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:
Evan Cheng
2011-07-25 18:43:53 +00:00
parent c57e7dbfaf
commit 8c3fee5903
12 changed files with 589 additions and 555 deletions

View File

@@ -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;
}
}