mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 14:42:01 +00:00
Recognize FpMOVD as a move.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ed7f42c1b
commit
9ed920437a
@ -32,7 +32,7 @@ bool SparcV8InstrInfo::isMoveInstr(const MachineInstr &MI,
|
||||
SrcReg = MI.getOperand(2).getReg();
|
||||
return true;
|
||||
}
|
||||
} else if (MI.getOpcode() == V8::FMOVS) {
|
||||
} else if (MI.getOpcode() == V8::FMOVS || MI.getOpcode() == V8::FpMOVD) {
|
||||
SrcReg = MI.getOperand(1).getReg();
|
||||
DstReg = MI.getOperand(0).getReg();
|
||||
return true;
|
||||
|
@ -32,7 +32,7 @@ bool SparcV8InstrInfo::isMoveInstr(const MachineInstr &MI,
|
||||
SrcReg = MI.getOperand(2).getReg();
|
||||
return true;
|
||||
}
|
||||
} else if (MI.getOpcode() == V8::FMOVS) {
|
||||
} else if (MI.getOpcode() == V8::FMOVS || MI.getOpcode() == V8::FpMOVD) {
|
||||
SrcReg = MI.getOperand(1).getReg();
|
||||
DstReg = MI.getOperand(0).getReg();
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user