mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Fix another warning. There is a functionality change but I believe it's correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98430 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb65807c34
commit
e17245dbe9
@ -334,8 +334,8 @@ Thumb2SizeReduce::ReduceLoadStore(MachineBasicBlock &MBB, MachineInstr *MI,
|
||||
unsigned BaseReg = MI->getOperand(1).getReg();
|
||||
ARM_AM::AMSubMode Mode = ARM_AM::getAM4SubMode(MI->getOperand(2).getImm());
|
||||
if (BaseReg == ARM::SP &&
|
||||
(Entry.WideOpc == ARM::t2LDM_UPD && Mode == ARM_AM::ia) ||
|
||||
(Entry.WideOpc == ARM::t2STM_UPD && Mode == ARM_AM::db)) {
|
||||
((Entry.WideOpc == ARM::t2LDM_UPD && Mode == ARM_AM::ia) ||
|
||||
(Entry.WideOpc == ARM::t2STM_UPD && Mode == ARM_AM::db))) {
|
||||
Opc = Entry.NarrowOpc2; // tPOP or tPUSH
|
||||
OpNum = 3;
|
||||
} else if (!isARMLowRegister(BaseReg) || Mode != ARM_AM::ia) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user