Changes in directory llvm/include/llvm/CodeGen:
LiveIntervalAnalysis.h updated: 1.56 -> 1.57 --- Log message: Iterative coallescing doesn't buy us anything (we get identical results on crafty with and without it). Removing it speeds up live intervals 6%. --- Diffs of the changes: (+2 -15) LiveIntervalAnalysis.h | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.56 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.57 --- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.56 Thu Aug 31 00:54:43 2006 +++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h Thu Aug 31 23:02:42 2006 @@ -53,17 +53,6 @@ std::vector<bool> allocatableRegs_; public: - struct CopyRec { - MachineInstr *MI; - unsigned SrcReg, DstReg; - }; - CopyRec getCopyRec(MachineInstr *MI, unsigned SrcReg, unsigned DstReg) { - CopyRec R; - R.MI = MI; - R.SrcReg = SrcReg; - R.DstReg = DstReg; - return R; - } struct InstrSlots { enum { LOAD = 0, @@ -161,10 +150,8 @@ /// joinIntervals - join compatible live intervals void joinIntervals(); - /// CopyCoallesceInMBB - Coallsece copies in the specified MBB, putting - /// copies that cannot yet be coallesced into the "TryAgain" list. - void CopyCoallesceInMBB(MachineBasicBlock *MBB, - std::vector<CopyRec> &TryAgain); + /// CopyCoallesceInMBB - Coallsece copies in the specified MBB. + void CopyCoallesceInMBB(MachineBasicBlock *MBB); /// JoinCopy - Attempt to join intervals corresponding to SrcReg/DstReg, /// which are the src/dst of the copy instruction CopyMI. This returns true _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits