mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Fix CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aac2d44bc3
commit
35f2bbe8c6
@ -2870,7 +2870,7 @@ void PPC32ISel::emitShiftOperation(MachineBasicBlock *MBB,
|
||||
// Select correct least significant half if the shift amount > 32
|
||||
BB = TmpMBB;
|
||||
unsigned OrReg = makeAnotherReg(Type::IntTy);
|
||||
BuildMI(BB, PPC::OR, 2, OrReg).addReg(TmpReg6).addImm(TmpReg6);
|
||||
BuildMI(BB, PPC::OR, 2, OrReg).addReg(TmpReg6).addReg(TmpReg6);
|
||||
TmpMBB->addSuccessor(PhiMBB);
|
||||
|
||||
BB = PhiMBB;
|
||||
|
Loading…
x
Reference in New Issue
Block a user