diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-25 22:44:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-05-25 22:44:06 +0000 |
commit | 6b93bf5783a1dd7b5535cff5eedbe2d965d90ac0 (patch) | |
tree | 5de9a16b5293dbcfae15dd60a4beecdb7b48e028 /llvm/lib | |
parent | a145e25431c7fb399dee600263766c9f35196919 (diff) | |
download | bcm5719-llvm-6b93bf5783a1dd7b5535cff5eedbe2d965d90ac0.tar.gz bcm5719-llvm-6b93bf5783a1dd7b5535cff5eedbe2d965d90ac0.zip |
Don't repeat name in comment and git-clang-format.
llvm-svn: 270785
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Subtarget.cpp b/llvm/lib/Target/AArch64/AArch64Subtarget.cpp index 3cc49299e63..3cd03e8edd1 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 |