diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-06-17 20:13:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-06-17 20:13:36 +0000 |
commit | 5ac16ae31a1a7aae5ecc0aa433bd83092f604558 (patch) | |
tree | 83bc19d29379ec08346477721b7dfb8a173cb77c | |
parent | f4bacb4eb239be6a6ea7ffa127b92a000fee24cb (diff) | |
download | external_llvm-5ac16ae31a1a7aae5ecc0aa433bd83092f604558.zip external_llvm-5ac16ae31a1a7aae5ecc0aa433bd83092f604558.tar.gz external_llvm-5ac16ae31a1a7aae5ecc0aa433bd83092f604558.tar.bz2 |
Live-through live interval is [mbb start, mbb end+1].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52431 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 196109b..83df4d1 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -366,7 +366,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock *mbb, for (unsigned i = 0, e = vi.AliveBlocks.size(); i != e; ++i) { if (vi.AliveBlocks[i]) { LiveRange LR(getMBBStartIdx(i), - getMBBEndIdx(i), + getMBBEndIdx(i)+1, // MBB ends at -1. ValNo); interval.addRange(LR); DOUT << " +" << LR; |