Fix another vestige of the 32-bit PowerPC backend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-08-19 16:50:30 +00:00
parent ab566eaa68
commit cc55ad5fe9

View File

@ -2558,10 +2558,8 @@ void ISel::emitCastOperation(MachineBasicBlock *MBB,
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)