mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
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
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user