mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-23 16:31:20 +00:00
Switch to SmallVector in SimpleRegisterCoalescing for a 3.5% speedup on 403.gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125728 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
61a733434d
commit
2598b1f4ac
@ -1425,9 +1425,9 @@ void SimpleRegisterCoalescing::CopyCoalesceInMBB(MachineBasicBlock *MBB,
|
||||
std::vector<CopyRec> &TryAgain) {
|
||||
DEBUG(dbgs() << MBB->getName() << ":\n");
|
||||
|
||||
std::vector<CopyRec> VirtCopies;
|
||||
std::vector<CopyRec> PhysCopies;
|
||||
std::vector<CopyRec> ImpDefCopies;
|
||||
SmallVector<CopyRec, 8> VirtCopies;
|
||||
SmallVector<CopyRec, 8> PhysCopies;
|
||||
SmallVector<CopyRec, 8> ImpDefCopies;
|
||||
for (MachineBasicBlock::iterator MII = MBB->begin(), E = MBB->end();
|
||||
MII != E;) {
|
||||
MachineInstr *Inst = MII++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user