diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-11-28 01:28:46 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-28 01:28:46 +0000 |
commit | 91e32d0d17ec174e9f493cd830ea486ea4570e93 (patch) | |
tree | 8f5f41026ad83ede602555eb137a7fac454eda36 /include/llvm | |
parent | 815297c8d8006ffda21744133cbfa16bc58af351 (diff) | |
download | external_llvm-91e32d0d17ec174e9f493cd830ea486ea4570e93.zip external_llvm-91e32d0d17ec174e9f493cd830ea486ea4570e93.tar.gz external_llvm-91e32d0d17ec174e9f493cd830ea486ea4570e93.tar.bz2 |
Recover compile time regression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/LiveIntervalAnalysis.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/LiveIntervalAnalysis.h b/include/llvm/CodeGen/LiveIntervalAnalysis.h index e4582f7..c803fbd 100644 --- a/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -292,7 +292,7 @@ namespace llvm { VirtRegMap &vrm, SSARegMap *RegMap, const TargetRegisterClass* rc, SmallVector<int, 4> &ReMatIds, unsigned &NewVReg, bool &HasDef, bool &HasUse, const LoopInfo *loopInfo, - std::vector<unsigned> &NewVRegs, + std::map<unsigned,unsigned> &NewVRegs, std::vector<LiveInterval*> &NewLIs); void rewriteInstructionsForSpills(const LiveInterval &li, bool TrySplit, LiveInterval::Ranges::const_iterator &I, @@ -301,8 +301,8 @@ namespace llvm { VirtRegMap &vrm, SSARegMap *RegMap, const TargetRegisterClass* rc, SmallVector<int, 4> &ReMatIds, const LoopInfo *loopInfo, BitVector &SpillMBBs, - std::vector<std::pair<int, unsigned> > &SpillIdxes, - std::vector<unsigned> &NewVRegs, + std::map<unsigned, std::pair<int, unsigned> > &SpillIdxes, + std::map<unsigned,unsigned> &NewVRegs, std::vector<LiveInterval*> &NewLIs); static LiveInterval createInterval(unsigned Reg); |