diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-11 22:52:14 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-01-11 22:52:14 +0000 |
commit | a8bd9a68f7c00fe1d895bb5e27ff804aa33abd64 (patch) | |
tree | 99f9b3bde43889183edaf926d91ca84991fd8545 /lib/CodeGen/RegAllocBase.h | |
parent | 078203f301baaa1fc96e172708f4bf7f9c7dcf82 (diff) | |
download | external_llvm-a8bd9a68f7c00fe1d895bb5e27ff804aa33abd64.zip external_llvm-a8bd9a68f7c00fe1d895bb5e27ff804aa33abd64.tar.gz external_llvm-a8bd9a68f7c00fe1d895bb5e27ff804aa33abd64.tar.bz2 |
Sink spillInterferences into RABasic.
This helper method is too simplistic for RAGreedy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | lib/CodeGen/RegAllocBase.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index 72620f7..a4b1667 100644 --- a/lib/CodeGen/RegAllocBase.h +++ b/lib/CodeGen/RegAllocBase.h @@ -151,12 +151,6 @@ protected: /// allocation is making progress. void unassign(LiveInterval &VirtReg, unsigned PhysReg); - // Helper for spilling all live virtual registers currently unified under preg - // that interfere with the most recently queried lvr. Return true if spilling - // was successful, and append any new spilled/split intervals to splitLVRs. - bool spillInterferences(LiveInterval &VirtReg, unsigned PhysReg, - SmallVectorImpl<LiveInterval*> &SplitVRegs); - /// addMBBLiveIns - Add physreg liveins to basic blocks. void addMBBLiveIns(MachineFunction *); @@ -174,9 +168,6 @@ public: private: void seedLiveRegs(); - - void spillReg(LiveInterval &VirtReg, unsigned PhysReg, - SmallVectorImpl<LiveInterval*> &SplitVRegs); }; } // end namespace llvm |