mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
Simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a3e39dc705
commit
5fa2ba2769
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user