projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e214979
)
teach ppc backend these are copies
author
Chris Lattner
<sabre@nondot.org>
Wed, 19 Oct 2005 01:50:36 +0000
(
01:50
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 19 Oct 2005 01:50:36 +0000
(
01:50
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23813
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.cpp
b/lib/Target/PowerPC/PPCInstrInfo.cpp
index cfeda7b5d52ac3c8b8a123c3fa7adcba1ffb2fe9..f1cd9f56d72f83ef9772b5bfac3f4f48bb213a78 100644
(file)
--- 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() &&