diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-29 16:45:47 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-09-29 16:45:47 +0000 |
commit | 9ed920437aa57886d7c9d98089955e464c3a75e0 (patch) | |
tree | 12bf298899dd0939c3c55b563d08fe76b463ed15 /lib | |
parent | 0ed7f42c1b6e6dab8b531d7f2fa45ed2fe310849 (diff) |
Recognize FpMOVD as a move.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16586 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Sparc/SparcInstrInfo.cpp | 2 | ||||
-rw-r--r-- | lib/Target/SparcV8/SparcV8InstrInfo.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.cpp b/lib/Target/Sparc/SparcInstrInfo.cpp index 7776b0bae3..01c513ac5e 100644 --- a/lib/Target/Sparc/SparcInstrInfo.cpp +++ b/lib/Target/Sparc/SparcInstrInfo.cpp @@ -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; diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.cpp b/lib/Target/SparcV8/SparcV8InstrInfo.cpp index 7776b0bae3..01c513ac5e 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.cpp +++ b/lib/Target/SparcV8/SparcV8InstrInfo.cpp @@ -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; |