Fix the comments for the 'fast' parameter in addPassesToEmitFile.
authorDan Gohman <gohman@apple.com>
Mon, 30 Jul 2007 15:04:59 +0000 (15:04 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 30 Jul 2007 15:04:59 +0000 (15:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40592 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachine.h

index d193ed4c54cba74e0dc15ca73d56640f6da5e95f..056dfc9fa155930cd1c21b03a441ae539a502b6c 100644 (file)
@@ -192,8 +192,9 @@ public:
   /// 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 @@ public:
   /// 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