The default AsmPrinter print GV in comments,
AIX should do so too.
This also fix LLVM :: CodeGen/Generic/inline-asm-mem-clobber.ll.
Differential D102534
[AIX][AsmPrinter] Print Global Variable in comments Authored by jsji on May 14 2021, 2:28 PM.
Details
The default AsmPrinter print GV in comments, This also fix LLVM :: CodeGen/Generic/inline-asm-mem-clobber.ll.
Diff Detail
|
I looks to me that the corresponding code in AsmPrinter::emitGlobalVariable is guarded by GV->hasInitializer().