Skip to content

Commit 5ff934e

Browse files
committed
fmt
Created using spr 1.3.4
2 parents 1df09be + 700b66d commit 5ff934e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

llvm/include/llvm/CodeGen/AsmPrinter.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,6 @@ class AsmPrinter : public MachineFunctionPass {
925925
virtual MaybeAlign getRequiredGlobalAlignment(const GlobalVariable &GV) {
926926
return std::nullopt;
927927
};
928-
929928
};
930929

931930
} // end namespace llvm

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,8 @@ void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV) {
723723
}
724724

725725
/// EmitGlobalVariable - Emit the specified global variable to the .s file.
726-
void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV, MaybeAlign OverAlignment) {
726+
void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV,
727+
MaybeAlign OverAlignment) {
727728
bool IsEmuTLSVar = TM.useEmulatedTLS() && GV->isThreadLocal();
728729
assert(!(IsEmuTLSVar && GV->hasCommonLinkage()) &&
729730
"No emulated TLS variables in the common section");
@@ -799,7 +800,6 @@ void AsmPrinter::emitGlobalVariable(const GlobalVariable *GV, MaybeAlign OverAli
799800
Alignment = *OverAlignment;
800801
}
801802

802-
803803
for (auto &Handler : Handlers)
804804
Handler->setSymbolSize(GVSym, Size);
805805

llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,8 +1445,8 @@ void AArch64AsmPrinter::emitGlobalAlias(const Module &M,
14451445
AsmPrinter::emitGlobalAlias(M, GA);
14461446
}
14471447

1448-
1449-
MaybeAlign AArch64AsmPrinter::getRequiredGlobalAlignment(const GlobalVariable &GV) {
1448+
MaybeAlign
1449+
AArch64AsmPrinter::getRequiredGlobalAlignment(const GlobalVariable &GV) {
14501450
return GV.isTagged() && GV.getAlign().valueOrOne() < 16 ? MaybeAlign(16)
14511451
: std::nullopt;
14521452
}

0 commit comments

Comments
 (0)