Delete BlockInfo::LiveThrough. It wasn't used any more.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Aug 2011 22:37:20 +0000 (22:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 2 Aug 2011 22:37:20 +0000 (22:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136735 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SplitKit.cpp
lib/CodeGen/SplitKit.h

index 2197046b030b2dc0208eb220f24b96190e2c88ea..0679a619f5c81dd97edb80663cd11472f0da09e8 100644 (file)
@@ -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.
index 7948b725f85684a8e84ada19fff2577af3bdf330..4566b84ca7e5acd8c8375e05adc2b02420006c63 100644 (file)
@@ -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.