diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-28 19:19:11 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2012-04-28 19:19:11 +0000 |
commit | ff11c0185391023d4f7b3254de94e11a5bb9cd58 (patch) | |
tree | 60be9bbb023da3a67e6a95822e80fa02c48ba9b5 /include/llvm/CodeGen/LiveInterval.h | |
parent | f4aee4c50e2ce46946f71bbb7d7a849b054018f7 (diff) | |
download | llvm-ff11c0185391023d4f7b3254de94e11a5bb9cd58.tar.gz llvm-ff11c0185391023d4f7b3254de94e11a5bb9cd58.tar.bz2 llvm-ff11c0185391023d4f7b3254de94e11a5bb9cd58.tar.xz |
Don't update spill weights when joining intervals.
We don't compute spill weights until after coalescing anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/LiveInterval.h')
-rw-r--r-- | include/llvm/CodeGen/LiveInterval.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/CodeGen/LiveInterval.h b/include/llvm/CodeGen/LiveInterval.h index 18096ec3df..3170952dd2 100644 --- a/include/llvm/CodeGen/LiveInterval.h +++ b/include/llvm/CodeGen/LiveInterval.h @@ -474,10 +474,6 @@ namespace llvm { weight = HUGE_VALF; } - /// ComputeJoinedWeight - Set the weight of a live interval after - /// Other has been merged into it. - void ComputeJoinedWeight(const LiveInterval &Other); - bool operator<(const LiveInterval& other) const { const SlotIndex &thisIndex = beginIndex(); const SlotIndex &otherIndex = other.beginIndex(); |