[PATCH] D81270: [XCOFF][AIX] Use 'L..' instead of '.L' for getPrivateGlobalPrefix in DataLayout

Jason Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 09:26:03 PDT 2020


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

D80831 <https://reviews.llvm.org/D80831> changed part of the prefix usage for AIX. But there are other places getting prefix from DataLayout.
This patch intends to make prefix usage consistent on AIX.
Notice that after this patch, we would want to have another patch to make clang generate the matching "target datalayout" in IR.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81270

Files:
  llvm/include/llvm/IR/DataLayout.h
  llvm/lib/IR/DataLayout.cpp
  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-mergeable-const.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81270.268837.patch
Type: text/x-patch
Size: 8503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200605/0635b792/attachment.bin>


More information about the llvm-commits mailing list