[llvm] r270785 - Don't repeat name in comment and git-clang-format.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Wed May 25 15:44:07 PDT 2016
Author: rafael
Date: Wed May 25 17:44:06 2016
New Revision: 270785
URL: http://llvm.org/viewvc/llvm-project?rev=270785&view=rev
Log:
Don't repeat name in comment and git-clang-format.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp?rev=270785&r1=270784&r2=270785&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64Subtarget.cpp Wed May 25 17:44:06 2016
@@ -68,11 +68,11 @@ const RegisterBankInfo *AArch64Subtarget
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::ClassifyGlobalReferenc
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
More information about the llvm-commits
mailing list