Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.15 -> 1.16
AlphaTargetMachine.h updated: 1.10 -> 1.11
---
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:  (+3 -8)

 AlphaTargetMachine.cpp |    3 ++-
 AlphaTargetMachine.h   |    8 +-------
 2 files changed, 3 insertions(+), 8 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.15 
llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.16
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.15   Sun Oct 30 10:44:01 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp        Mon Nov  7 20:11:51 2005
@@ -77,7 +77,8 @@
 ///
 bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM,
                                              std::ostream &Out,
-                                             CodeGenFileType FileType) {
+                                             CodeGenFileType FileType,
+                                             bool Fast) {
   if (FileType != TargetMachine::AssemblyFile) return true;
 
   if (EnableAlphaLSR) {


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.h
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.10 
llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.11
--- llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.10     Thu Sep 29 17:54:56 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.h  Mon Nov  7 20:11:51 2005
@@ -48,17 +48,11 @@
 
   static unsigned getJITMatchQuality();
 
-  /// addPassesToEmitMachineCode - Add passes to the specified pass manager to
-  /// get machine code emitted.  This uses a MachineCodeEmitter object to 
handle
-  /// actually outputting the machine code and resolving things like the 
address
-  /// of functions.  This method should returns true if machine code emission 
is
-  /// not supported.
-  ///
   virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
                                           MachineCodeEmitter &MCE);
 
   virtual bool addPassesToEmitFile(PassManager &PM, std::ostream &Out,
-                                   CodeGenFileType FileType);
+                                   CodeGenFileType FileType, bool Fast);
 
   static unsigned getModuleMatchQuality(const Module &M);
 };



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

Reply via email to