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 | 6aabf837fe6850922e0e2b12881c0fd789891cc9 (patch) | |
tree | 9ec8bdb39b229736afda394866dffdba1676dbd9 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 6715f755cc5737d2d2d96be79523421f66dc1090 (diff) | |
download | bcm5719-llvm-6aabf837fe6850922e0e2b12881c0fd789891cc9.tar.gz bcm5719-llvm-6aabf837fe6850922e0e2b12881c0fd789891cc9.zip |
Remove unused hidden option.
llvm-svn: 46903
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp index de94688e3ab..d1b65c4748b 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/llvm/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. |