Changes in directory llvm/lib/Target/CBackend:

CTargetMachine.h updated: 1.8 -> 1.9
Writer.cpp updated: 1.246 -> 1.247
---
Log message:

Add a new option to indicate we want the code generator to emit code 
quickly,not spending tons of time microoptimizing it.  This is useful for an 
-O0style of build.


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

 CTargetMachine.h |    2 +-
 Writer.cpp       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/CBackend/CTargetMachine.h
diff -u llvm/lib/Target/CBackend/CTargetMachine.h:1.8 
llvm/lib/Target/CBackend/CTargetMachine.h:1.9
--- llvm/lib/Target/CBackend/CTargetMachine.h:1.8       Thu Sep  1 16:38:20 2005
+++ llvm/lib/Target/CBackend/CTargetMachine.h   Mon Nov  7 20:11:51 2005
@@ -26,7 +26,7 @@
 
   // This is the only thing that actually does anything here.
   virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,
-                                   CodeGenFileType FileType);
+                                   CodeGenFileType FileType, bool Fast);
 
   // This class always works, but shouldn't be the default in most cases.
   static unsigned getModuleMatchQuality(const Module &M) { return 1; }


Index: llvm/lib/Target/CBackend/Writer.cpp
diff -u llvm/lib/Target/CBackend/Writer.cpp:1.246 
llvm/lib/Target/CBackend/Writer.cpp:1.247
--- llvm/lib/Target/CBackend/Writer.cpp:1.246   Wed Nov  2 11:42:58 2005
+++ llvm/lib/Target/CBackend/Writer.cpp Mon Nov  7 20:11:51 2005
@@ -1725,7 +1725,7 @@
 
//===----------------------------------------------------------------------===//
 
 bool CTargetMachine::addPassesToEmitFile(PassManager &PM, std::ostream &o,
-                                         CodeGenFileType FileType) {
+                                         CodeGenFileType FileType, bool Fast) {
   if (FileType != TargetMachine::AssemblyFile) return true;
 
   PM.add(createLowerGCPass());



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to