mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00:00
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:
parent
ab566eaa68
commit
cc55ad5fe9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user