aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-01 08:54:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-01 08:54:57 +0000
commit10dbd3ead83e64aae614181ee23965e10f341973 (patch)
tree2ead1109d5a557173f04a41c8740f9b31c378a50 /lib/CodeGen/VirtRegMap.cpp
parentd065c813c83fe4738827940d07b0a4a6d2a2a449 (diff)
Remove temp. option -spiller-check-liveout, it didn't cause any failure nor performance regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--lib/CodeGen/VirtRegMap.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index 6122dc1bb4..ae4f1fccc6 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/lib/CodeGen/VirtRegMap.cpp
@@ -50,10 +50,6 @@ namespace {
clEnumVal(local, " local spiller"),
clEnumValEnd),
cl::init(local));
-
- // TEMPORARY option to test a fix.
- cl::opt<bool>
- SpillerCheckLiveOut("spiller-check-liveout", cl::Hidden);
}
//===----------------------------------------------------------------------===//
@@ -735,7 +731,7 @@ void LocalSpiller::RewriteMBB(MachineBasicBlock &MBB, const VirtRegMap &VRM) {
// If we get here, the store is dead, nuke it now.
assert(!(MR & VirtRegMap::isRef) && "Can't be modref!");
// Don't nuke it if the value is needed in another block.
- if (!SpillerCheckLiveOut || !(MR & VirtRegMap::isLiveOut)) {
+ if (!(MR & VirtRegMap::isLiveOut)) {
DEBUG(std::cerr << " Killed store:\t" << *MDSI->second);
MBB.erase(MDSI->second);
MaybeDeadStores.erase(MDSI);