[PATCH] D138897: [AIX] Append hex string of constant value to the end of constant symbol name

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 22:51:06 PST 2022


lkail created this revision.
lkail added reviewers: nemanjai, Esme, hubert.reinterpretcast, cebowleratibm, rzurob, shchenz, PowerPC.
Herald added subscribers: arphaman, kbarton, hiraditya.
Herald added a project: All.
lkail requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Change constant symbol's format to `CP<FUNC_NUM>_<CPID>` to `CP<FUNC_NUM>_<CPID>_<HEX>` to improve verbosity. This can make user to identify the constants easier via binary utilities.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138897

Files:
  llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
  llvm/test/CodeGen/PowerPC/aix-constant-align.ll
  llvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138897.478462.patch
Type: text/x-patch
Size: 4727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221129/01aaf59b/attachment.bin>


More information about the llvm-commits mailing list