summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-07-30 15:04:59 +0000
committerDan Gohman <gohman@apple.com>2007-07-30 15:04:59 +0000
commit06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d (patch)
tree85689828b37885e0307ef6cc3b3fedf7741e0f82 /include
parentd47cab81b61f7f767248193d5f6cd6ea1918c60f (diff)
downloadllvm-06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d.tar.gz
llvm-06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d.tar.bz2
llvm-06dd2a68e12a8c278faaf9cbf76ddf6d9e2d696d.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetMachine.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index d193ed4c54..056dfc9fa1 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