[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 18 18:50:48 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPCInstrInfo.cpp updated: 1.12 -> 1.13
---
Log message:
teach ppc backend these are copies
---
Diffs of the changes: (+2 -1)
PPCInstrInfo.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.12 llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.13
--- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp:1.12 Mon Oct 17 19:28:58 2005
+++ llvm/lib/Target/PowerPC/PPCInstrInfo.cpp Tue Oct 18 20:50:36 2005
@@ -25,7 +25,8 @@
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() &&
More information about the llvm-commits
mailing list