aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-30 02:40:06 +0000
committerChris Lattner <sabre@nondot.org>2004-09-30 02:40:06 +0000
commit5f7d2d45fdd7a62611b94d404aa925a8609b5ed6 (patch)
tree6664f7c150ffc656f1e7387d25f4722cca30053a /lib/CodeGen/VirtRegMap.cpp
parent4ea1b828ebc5d2e8711acf13c2a3fdd7c14fe339 (diff)
Switch from defaulting to the 'local' spiller to the 'simple' spiller. The
two spillers produce perfectly identical code (at least on povray and eon), but the simple spiller is substantially faster than the local spiller. Once the local spiller is improved, we can switch back. Switching cuts 5.2% off of the llc time for povray (about 1.3s). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r--lib/CodeGen/VirtRegMap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp
index c8847bde89..a4ffb1f804 100644
--- a/lib/CodeGen/VirtRegMap.cpp
+++ b/lib/CodeGen/VirtRegMap.cpp
@@ -39,12 +39,12 @@ namespace {
cl::opt<SpillerName>
SpillerOpt("spiller",
- cl::desc("Spiller to use: (default: local)"),
+ cl::desc("Spiller to use: (default: simple)"),
cl::Prefix,
cl::values(clEnumVal(simple, " simple spiller"),
clEnumVal(local, " local spiller"),
clEnumValEnd),
- cl::init(local));
+ cl::init(simple));
}
//===----------------------------------------------------------------------===//