[llvm-commits] CVS: llvm/lib/CodeGen/VirtRegMap.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Sep 29 19:40:17 PDT 2004



Changes in directory llvm/lib/CodeGen:

VirtRegMap.cpp updated: 1.22 -> 1.23
---
Log message:

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).



---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/CodeGen/VirtRegMap.cpp
diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.22 llvm/lib/CodeGen/VirtRegMap.cpp:1.23
--- llvm/lib/CodeGen/VirtRegMap.cpp:1.22	Wed Sep 29 21:33:48 2004
+++ llvm/lib/CodeGen/VirtRegMap.cpp	Wed Sep 29 21:40:06 2004
@@ -39,12 +39,12 @@
 
   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));
 }
 
 //===----------------------------------------------------------------------===//






More information about the llvm-commits mailing list