llvm-svn: 73422
This commit is contained in:
Evan Cheng 2009-06-15 21:18:20 +00:00
parent 405cf6c282
commit ad0dba582f
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ ARMPreAllocLoadStoreOpt::CanFormLdStDWord(MachineInstr *Op0, MachineInstr *Op1,
Offset = ARM_AM::getAM3Opc(AddSub, OffImm);
EvenReg = Op0->getOperand(0).getReg();
OddReg = Op0->getOperand(1).getReg();
OddReg = Op1->getOperand(0).getReg();
if (EvenReg == OddReg)
return false;
BaseReg = Op0->getOperand(1).getReg();