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 | 4751eb760e7f4e51cfd594cbe46c7d0d7865d693 (patch) | |
tree | cc58cb0df9fab9f710a890a87acf335117d7caa6 | |
parent | d8030c79fd4531a691381e7e870fe99b8a4cb8a4 (diff) | |
download | external_llvm-4751eb760e7f4e51cfd594cbe46c7d0d7865d693.zip external_llvm-4751eb760e7f4e51cfd594cbe46c7d0d7865d693.tar.gz external_llvm-4751eb760e7f4e51cfd594cbe46c7d0d7865d693.tar.bz2 |
Delete BlockInfo::LiveThrough. It wasn't used any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136735 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/SplitKit.cpp | 3 | ||||
-rw-r--r-- | lib/CodeGen/SplitKit.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/SplitKit.cpp b/lib/CodeGen/SplitKit.cpp index 2197046..0679a61 100644 --- a/lib/CodeGen/SplitKit.cpp +++ b/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/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index 7948b72..4566b84 100644 --- a/lib/CodeGen/SplitKit.h +++ b/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. |