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 jsji on May 14 2021, 2:28 PM. Authored by
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().