]> granicus.if.org Git - llvm/commitdiff
Don't repeat names in comments. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Jun 2016 12:44:52 +0000 (12:44 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 30 Jun 2016 12:44:52 +0000 (12:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274226 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetMachine.cpp

index 6164ead42261e4dbebdb14ea6fd281e95f8aff22..aea87486d70e9b282a28eb672c19b965f60511a8 100644 (file)
@@ -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;