diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-19 01:50:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-19 01:50:36 +0000 |
commit | 14c09b81ead8fe8b754fca2d0a8237cb810b37d6 (patch) | |
tree | ae6df75438cbe9fa74655b21fb4ebf1962e1133b /lib | |
parent | e214979f79291e377571561025ab97d15044d72c (diff) | |
download | external_llvm-14c09b81ead8fe8b754fca2d0a8237cb810b37d6.zip external_llvm-14c09b81ead8fe8b754fca2d0a8237cb810b37d6.tar.gz external_llvm-14c09b81ead8fe8b754fca2d0a8237cb810b37d6.tar.bz2 |
teach ppc backend these are copies
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.cpp b/lib/Target/PowerPC/PPCInstrInfo.cpp index cfeda7b..f1cd9f56 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.cpp +++ b/lib/Target/PowerPC/PPCInstrInfo.cpp @@ -25,7 +25,8 @@ bool PPCInstrInfo::isMoveInstr(const MachineInstr& MI, unsigned& sourceReg, unsigned& destReg) const { MachineOpCode oc = MI.getOpcode(); - if (oc == PPC::OR4 || oc == PPC::OR8) { // or r1, r2, r2 + if (oc == PPC::OR4 || oc == PPC::OR8 || + oc == PPC::OR4To8 || oc == PPC::OR8To4) { // or r1, r2, r2 assert(MI.getNumOperands() == 3 && MI.getOperand(0).isRegister() && MI.getOperand(1).isRegister() && |