Simplify code.

llvm-svn: 186013
This commit is contained in:
Craig Topper 2013-07-10 16:38:35 +00:00
parent 49812b5bbd
commit 9ae4707868
1 changed files with 2 additions and 6 deletions

View File

@ -1858,9 +1858,7 @@ ARMPreAllocLoadStoreOpt::RescheduleLoadStoreInstrs(MachineBasicBlock *MBB) {
if (!StopHere)
BI->second.push_back(MI);
} else {
SmallVector<MachineInstr*, 4> MIs;
MIs.push_back(MI);
Base2LdsMap[Base] = MIs;
Base2LdsMap[Base].push_back(MI);
LdBases.push_back(Base);
}
} else {
@ -1876,9 +1874,7 @@ ARMPreAllocLoadStoreOpt::RescheduleLoadStoreInstrs(MachineBasicBlock *MBB) {
if (!StopHere)
BI->second.push_back(MI);
} else {
SmallVector<MachineInstr*, 4> MIs;
MIs.push_back(MI);
Base2StsMap[Base] = MIs;
Base2StsMap[Base].push_back(MI);
StBases.push_back(Base);
}
}