Add comment.

llvm-svn: 82836
This commit is contained in:
Evan Cheng 2009-09-26 02:43:36 +00:00
parent 0b55bde4b3
commit c4e3168b65

View File

@ -1185,6 +1185,7 @@ ARMPreAllocLoadStoreOpt::CanFormLdStDWord(MachineInstr *Op0, MachineInstr *Op1,
} else
return false;
// Make sure the offset registers match.
if (!isT2 &&
(Op0->getOperand(2).getReg() != Op1->getOperand(2).getReg()))
return false;