[llvm] 9c20f09 - [AIX] Address comment https://reviews.llvm.org/D76162#inline-701237
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 27 13:22:14 PDT 2020
Author: diggerlin
Date: 2020-03-27T16:21:53-04:00
New Revision: 9c20f09985db8394c9776c4e3f734f0cda408d01
URL: https://github.com/llvm/llvm-project/commit/9c20f09985db8394c9776c4e3f734f0cda408d01
DIFF: https://github.com/llvm/llvm-project/commit/9c20f09985db8394c9776c4e3f734f0cda408d01.diff
LOG: [AIX] Address comment https://reviews.llvm.org/D76162#inline-701237
SUMMARY:
Address clang format issue:
"clang format this block, I don't think the spaces are aligned correctly."
Subscribers: wuzish, nemanjai, hiraditya
Differential Revision: https://reviews.llvm.org/D76162
Added:
Modified:
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 836a1a6c8db2..4e3987388653 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -1565,12 +1565,12 @@ void PPCAIXAsmPrinter::ValidateGV(const GlobalVariable *GV) {
const MCExpr *PPCAIXAsmPrinter::lowerConstant(const Constant *CV) {
if (const Function *F = dyn_cast<Function>(CV)) {
- MCSectionXCOFF *Csect = cast<MCSectionXCOFF>(
- F->isDeclaration()
- ? getObjFileLowering().getSectionForExternalReference(F, TM)
- : getObjFileLowering().getSectionForFunctionDescriptor(F, TM));
+ MCSectionXCOFF *Csect = cast<MCSectionXCOFF>(
+ F->isDeclaration()
+ ? getObjFileLowering().getSectionForExternalReference(F, TM)
+ : getObjFileLowering().getSectionForFunctionDescriptor(F, TM));
- return MCSymbolRefExpr::create(Csect->getQualNameSymbol(), OutContext);
+ return MCSymbolRefExpr::create(Csect->getQualNameSymbol(), OutContext);
}
return PPCAsmPrinter::lowerConstant(CV);
}
More information about the llvm-commits
mailing list