[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp
Misha Brukman
brukman at cs.uiuc.edu
Thu Aug 19 11:50:08 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC64ISelSimple.cpp updated: 1.8 -> 1.9
---
Log message:
Fix more remaining 32-bit vestiges of PowerPC
---
Diffs of the changes: (+2 -6)
Index: llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.8 llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.9
--- llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.8 Thu Aug 19 11:50:30 2004
+++ llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp Thu Aug 19 13:49:58 2004
@@ -2520,10 +2520,8 @@
BuildMI(*MBB, IP, PPC::RLWINM, 4, DestReg).addReg(SrcReg)
.addImm(0).addImm(clearBits).addImm(31);
break;
- case cLong:
- ++SrcReg;
- // Fall through
case cInt:
+ case cLong:
if (DestClass == cInt)
BuildMI(*MBB, IP, PPC::OR, 2, DestReg).addReg(SrcReg).addReg(SrcReg);
else
@@ -2599,10 +2597,8 @@
BuildMI(*MBB, IP, PPC::RLWINM, 4, DestReg).addReg(SrcReg).addImm(0)
.addImm(16).addImm(31);
break;
- case cLong:
- ++SrcReg;
- // Fall through
case cInt:
+ case cLong:
if (DestClass == cByte)
BuildMI(*MBB, IP, PPC::EXTSB, 1, DestReg).addReg(SrcReg);
else if (DestClass == cShort)
More information about the llvm-commits
mailing list