summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index 6164ead4226..aea87486d70 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -83,8 +83,8 @@ Reloc::Model TargetMachine::getRelocationModel() const {
return CodeGenInfo->getRelocationModel();
}
-/// getCodeModel - Returns the code model. The choices are small, kernel,
-/// medium, large, and target default.
+/// Returns the code model. The choices are small, kernel, medium, large, and
+/// target default.
CodeModel::Model TargetMachine::getCodeModel() const {
if (!CodeGenInfo)
return CodeModel::Default;
@@ -181,8 +181,7 @@ TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
return Model;
}
-/// getOptLevel - Returns the optimization level: None, Less,
-/// Default, or Aggressive.
+/// Returns the optimization level: None, Less, Default, or Aggressive.
CodeGenOpt::Level TargetMachine::getOptLevel() const {
if (!CodeGenInfo)
return CodeGenOpt::Default;
OpenPOWER on IntegriCloud