From 222a9d09f39b9c0bb230ebcc690cb994b75345cf Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 30 Jun 2016 12:44:52 +0000 Subject: Don't repeat names in comments. NFC. llvm-svn: 274226 --- llvm/lib/Target/TargetMachine.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'llvm/lib') 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; -- cgit v1.2.3