[PATCH] D102534: [AIX][AsmPrinter] Print Global Variable in comments

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 15 19:21:31 PDT 2021


jsji marked an inline comment as done.
jsji added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:2186
 
+  // Print GV in verbose mode
+  if (isVerbose()) {
----------------
hubert.reinterpretcast wrote:
> I looks to me that the corresponding code in `AsmPrinter::emitGlobalVariable` is guarded by `GV->hasInitializer()`.
Good point, we should align.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102534/new/

https://reviews.llvm.org/D102534



More information about the llvm-commits mailing list