[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp

Misha Brukman brukman at cs.uiuc.edu
Thu Aug 19 09:50:40 PDT 2004



Changes in directory llvm/lib/Target/PowerPC:

PPC64ISelSimple.cpp updated: 1.7 -> 1.8
---
Log message:

Fix another vestige of the 32-bit PowerPC backend.


---
Diffs of the changes:  (+1 -3)

Index: llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.7 llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.8
--- llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp:1.7	Thu Aug 19 11:29:25 2004
+++ llvm/lib/Target/PowerPC/PPC64ISelSimple.cpp	Thu Aug 19 11:50:30 2004
@@ -2558,10 +2558,8 @@
       else
         BuildMI(*MBB, IP, PPC::EXTSH, 1, DestReg).addReg(SrcReg);
       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