diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-09 08:36:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-09 08:36:28 +0000 |
commit | 63a18c491aa96367c493babebcd97d3263e07768 (patch) | |
tree | 312d5b7db09494a6afe4b6eda21e6473904f4f0e /lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 1426d52cab7faca74958ba890dbc28c93e4db0d0 (diff) |
Remove unused hidden option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46903 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index de94688e3a..d1b65c4748 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -51,11 +51,6 @@ namespace { cl::desc("Use new coalescer heuristic"), cl::init(false)); - static cl::opt<bool> - ReMatSpillWeight("tweak-remat-spill-weight", - cl::desc("Tweak spill weight of re-materializable intervals"), - cl::init(true)); - RegisterPass<SimpleRegisterCoalescing> X("simple-register-coalescing", "Simple Register Coalescing"); @@ -1496,7 +1491,7 @@ bool SimpleRegisterCoalescing::runOnMachineFunction(MachineFunction &fn) { LI.weight = HUGE_VALF; else { bool isLoad = false; - if (ReMatSpillWeight && li_->isReMaterializable(LI, isLoad)) { + if (li_->isReMaterializable(LI, isLoad)) { // If all of the definitions of the interval are re-materializable, // it is a preferred candidate for spilling. If non of the defs are // loads, then it's potentially very cheap to re-materialize. |