[llvm-commits] [llvm] r40592 - /llvm/trunk/include/llvm/Target/TargetMachine.h

Dan Gohman djg at cray.com
Mon Jul 30 08:04:59 PDT 2007


Author: djg
Date: Mon Jul 30 10:04:59 2007
New Revision: 40592

URL: http://llvm.org/viewvc/llvm-project?rev=40592&view=rev
Log:
Fix the comments for the 'fast' parameter in addPassesToEmitFile.

Modified:
    llvm/trunk/include/llvm/Target/TargetMachine.h

Modified: llvm/trunk/include/llvm/Target/TargetMachine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetMachine.h?rev=40592&r1=40591&r2=40592&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Target/TargetMachine.h (original)
+++ llvm/trunk/include/llvm/Target/TargetMachine.h Mon Jul 30 10:04:59 2007
@@ -192,8 +192,9 @@
   /// addPassesToEmitFile - Add passes to the specified pass manager to get the
   /// specified file emitted.  Typically this will involve several steps of code
   /// generation.  If Fast is set to true, the code generator should emit code
-  /// as fast as possible, without regard for compile time.  This method should
-  /// return FileModel::Error if emission of this file type is not supported.
+  /// as fast as possible, though the generated code may be less efficient.
+  /// This method should return FileModel::Error if emission of this file type
+  /// is not supported.
   ///
   virtual FileModel::Model addPassesToEmitFile(FunctionPassManager &PM,
                                                std::ostream &Out,
@@ -243,8 +244,9 @@
   /// addPassesToEmitFile - Add passes to the specified pass manager to get the
   /// specified file emitted.  Typically this will involve several steps of code
   /// generation.  If Fast is set to true, the code generator should emit code
-  /// as fast as possible, without regard for compile time.  This method should
-  /// return FileModel::Error if emission of this file type is not supported.
+  /// as fast as possible, though the generated code may be less efficient.
+  /// This method should return FileModel::Error if emission of this file type
+  /// is not supported.
   ///
   /// The default implementation of this method adds components from the
   /// LLVM retargetable code generator, invoking the methods below to get





More information about the llvm-commits mailing list