From 6b93bf5783a1dd7b5535cff5eedbe2d965d90ac0 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 25 May 2016 22:44:06 +0000 Subject: [PATCH] Don't repeat name in comment and git-clang-format. llvm-svn: 270785 --- llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp index 3cc49299e63c..3cd03e8edd1d 100644 --- a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp +++ b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp @@ -68,11 +68,11 @@ const RegisterBankInfo *AArch64Subtarget::getRegBankInfo() const { return GISel->getRegBankInfo(); } -/// ClassifyGlobalReference - Find the target operand flags that describe -/// how a global value should be referenced for the current subtarget. +/// Find the target operand flags that describe how a global value should be +/// referenced for the current subtarget. unsigned char AArch64Subtarget::ClassifyGlobalReference(const GlobalValue *GV, - const TargetMachine &TM) const { + const TargetMachine &TM) const { bool isDef = GV->isStrongDefinitionForLinker(); // MachO large model always goes via a GOT, simply to get a single 8-byte @@ -85,9 +85,9 @@ AArch64Subtarget::ClassifyGlobalReference(const GlobalValue *GV, if (TM.getCodeModel() == CodeModel::Small && GV->hasExternalWeakLinkage()) { // In PIC mode use the GOT, but in absolute mode use a constant pool load. if (TM.getRelocationModel() == Reloc::Static) - return AArch64II::MO_CONSTPOOL; + return AArch64II::MO_CONSTPOOL; else - return AArch64II::MO_GOT; + return AArch64II::MO_GOT; } // If symbol visibility is hidden, the extra load is not needed if