forked from OSchip/llvm-project
parent
84a84c38b7
commit
aeb8a80c71
|
@ -55,7 +55,8 @@ bool X86InstrInfo::isMoveInstr(const MachineInstr& MI,
|
|||
unsigned& sourceReg,
|
||||
unsigned& destReg) const {
|
||||
MachineOpCode oc = MI.getOpcode();
|
||||
if (oc == X86::MOVrr8 || oc == X86::MOVrr16 || oc == X86::MOVrr32) {
|
||||
if (oc == X86::MOVrr8 || oc == X86::MOVrr16 || oc == X86::MOVrr32 ||
|
||||
oc == X86::FpMOV) {
|
||||
assert(MI.getNumOperands() == 2 &&
|
||||
MI.getOperand(0).isRegister() &&
|
||||
MI.getOperand(1).isRegister() &&
|
||||
|
|
Loading…
Reference in New Issue