From 06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 30 Jul 2007 15:04:59 +0000 Subject: [PATCH] Fix the comments for the 'fast' parameter in addPassesToEmitFile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40592 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetMachine.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h index d193ed4c54c..056dfc9fa15 100644 --- a/include/llvm/Target/TargetMachine.h +++ b/include/llvm/Target/TargetMachine.h @@ -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