diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-04 23:01:41 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-06-04 23:01:41 +0000 |
| commit | 188d830405a47a6c1b5c87f85cd46bce587c2ec7 (patch) | |
| tree | 009ec9d4092755b8ba388e56838da882181bcaaf | |
| parent | 614e72bec7d768467cc07e1c0737298d8fa5330b (diff) | |
| download | bcm5719-llvm-188d830405a47a6c1b5c87f85cd46bce587c2ec7.tar.gz bcm5719-llvm-188d830405a47a6c1b5c87f85cd46bce587c2ec7.zip | |
Delete dead code.
llvm-svn: 157963
| -rw-r--r-- | llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h | 4 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h index edf80f5f2ee..39df32cf4bc 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h +++ b/llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h @@ -151,10 +151,6 @@ namespace llvm { return *I->second; } - /// dupInterval - Duplicate a live interval. The caller is responsible for - /// managing the allocated memory. - LiveInterval *dupInterval(LiveInterval *li); - /// addLiveRangeToEndOfBlock - Given a register and an instruction, /// adds a live range from that instruction to the end of its MBB. LiveRange addLiveRangeToEndOfBlock(unsigned reg, diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 85d95d086a2..d406e64deb9 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -626,14 +626,6 @@ LiveInterval* LiveIntervals::createInterval(unsigned reg) { return new LiveInterval(reg, Weight); } -/// dupInterval - Duplicate a live interval. The caller is responsible for -/// managing the allocated memory. -LiveInterval* LiveIntervals::dupInterval(LiveInterval *li) { - LiveInterval *NewLI = createInterval(li->reg); - NewLI->Copy(*li, MRI, getVNInfoAllocator()); - return NewLI; -} - /// shrinkToUses - After removing some uses of a register, shrink its live /// range to just the remaining uses. This method does not compute reaching /// defs for new uses, and it doesn't remove dead defs. |

