[llvm-commits] CVS: llvm/tools/llvmc/CompilerDriver.cpp

Reid Spencer reid at x10sys.com
Thu Nov 2 12:27:05 PST 2006



Changes in directory llvm/tools/llvmc:

CompilerDriver.cpp updated: 1.41 -> 1.42
---
Log message:

For PR786: http://llvm.org/PR786 :
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining 
issues when they see them. All changes pass DejaGnu tests and Olden.


---
Diffs of the changes:  (+0 -7)

 CompilerDriver.cpp |    7 -------
 1 files changed, 7 deletions(-)


Index: llvm/tools/llvmc/CompilerDriver.cpp
diff -u llvm/tools/llvmc/CompilerDriver.cpp:1.41 llvm/tools/llvmc/CompilerDriver.cpp:1.42
--- llvm/tools/llvmc/CompilerDriver.cpp:1.41	Fri Aug 25 12:43:11 2006
+++ llvm/tools/llvmc/CompilerDriver.cpp	Thu Nov  2 14:25:50 2006
@@ -62,13 +62,6 @@
   DumpAction(&cd->Linker);
 }
 
-/// This specifies the passes to run for OPT_FAST_COMPILE (-O1)
-/// which should reduce the volume of code and make compilation
-/// faster. This is also safe on any llvm module.
-static const char* DefaultFastCompileOptimizations[] = {
-  "-simplifycfg", "-mem2reg", "-instcombine"
-};
-
 class CompilerDriverImpl : public CompilerDriver {
 /// @name Constructors
 /// @{






More information about the llvm-commits mailing list