diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-02 22:37:20 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-08-02 22:37:20 +0000 |
commit | f047ff4fe109c5441d2e142bd01056aeb8f35e84 (patch) | |
tree | 04f8cbda72147102326fb93b9fdeaf2cbfe3ecc7 | |
parent | 11d994b76966c6250492495e52809b54e26e2196 (diff) | |
download | bcm5719-llvm-f047ff4fe109c5441d2e142bd01056aeb8f35e84.tar.gz bcm5719-llvm-f047ff4fe109c5441d2e142bd01056aeb8f35e84.zip |
Delete BlockInfo::LiveThrough. It wasn't used any more.
llvm-svn: 136735
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 2197046b030..0679a619f5c 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/lib/CodeGen/SplitKit.cpp @@ -203,7 +203,6 @@ bool SplitAnalysis::calcLiveBlockInfo() { ++NumGapBlocks; // Push the Live-in part. - BI.LiveThrough = false; BI.LiveOut = false; UseBlocks.push_back(BI); UseBlocks.back().LastUse = LastStop; @@ -215,8 +214,6 @@ bool SplitAnalysis::calcLiveBlockInfo() { } } - // Don't set LiveThrough when the block has a gap. - BI.LiveThrough = BI.LiveIn && BI.LiveOut; UseBlocks.push_back(BI); // LVI is now at LVE or LVI->end >= Stop. diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h index 7948b725f85..4566b84ca7e 100644 --- a/llvm/lib/CodeGen/SplitKit.h +++ b/llvm/lib/CodeGen/SplitKit.h @@ -78,7 +78,6 @@ public: MachineBasicBlock *MBB; SlotIndex FirstUse; ///< First instr using current reg. SlotIndex LastUse; ///< Last instr using current reg. - bool LiveThrough; ///< Live in whole block (Templ 5. above). bool LiveIn; ///< Current reg is live in. bool LiveOut; ///< Current reg is live out. |