[PATCH] D80831: [XCOFF][AIX] Use '.L' instead of 'L' for PrivateGlobalPrefix

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 29 12:33:34 PDT 2020


jasonliu created this revision.
jasonliu added reviewers: daltenty, DiggerLin, hubert.reinterpretcast, Xiangling_L.
Herald added subscribers: llvm-commits, arphaman, hiraditya, nemanjai.
Herald added a project: LLVM.

Without this change,  names start with 'L' will get created as temporary symbol in `MCContext::createSymbol`.
On the other hand, use '.L' actually make it more consistent as we already have some temporary symbols start with '.L', and they are the result of calling to getPrivateGlobalPrefix in `IR/DataLayout.h`.


https://reviews.llvm.org/D80831

Files:
  llvm/lib/MC/MCAsmInfoXCOFF.cpp
  llvm/test/CodeGen/PowerPC/aix-cc-abi.ll
  llvm/test/CodeGen/PowerPC/aix-cc-byval-mem.ll
  llvm/test/CodeGen/PowerPC/aix-cc-byval.ll
  llvm/test/CodeGen/PowerPC/aix-lower-block-address.ll
  llvm/test/CodeGen/PowerPC/aix-lower-constant-pool-index.ll
  llvm/test/CodeGen/PowerPC/aix-lower-jump-table.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-externL.ll
  llvm/test/CodeGen/PowerPC/aix64-cc-byval.ll
  llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll
  llvm/test/CodeGen/PowerPC/lower-globaladdr64-aix-asm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80831.267327.patch
Type: text/x-patch
Size: 37035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200529/8553821b/attachment.bin>


More information about the llvm-commits mailing list