From f047ff4fe109c5441d2e142bd01056aeb8f35e84 Mon Sep 17 00:00:00 2001 From: Jakob Stoklund Olesen Date: Tue, 2 Aug 2011 22:37:20 +0000 Subject: [PATCH] Delete BlockInfo::LiveThrough. It wasn't used any more. llvm-svn: 136735 --- llvm/lib/CodeGen/SplitKit.cpp | 3 --- llvm/lib/CodeGen/SplitKit.h | 1 - 2 files changed, 4 deletions(-) diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 2197046b030b..0679a619f5c8 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 7948b725f856..4566b84ca7e5 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.