[PATCH] D85895: [AMDGPU] Enable .rodata for amdpal os

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 05:28:55 PDT 2020


Flakebi created this revision.
Flakebi added reviewers: arsenm, nhaehnle, tpr.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: LLVM.
Flakebi requested review of this revision.
Herald added a subscriber: wdng.

PAL recently got support for multiple ELF sections and relocations,
therefore we can now use .rodata sections instead of forcing constants
into .text.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85895

Files:
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/global-value.ll
  llvm/test/CodeGen/AMDGPU/global-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85895.285338.patch
Type: text/x-patch
Size: 22885 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200813/2c6ad5d8/attachment.bin>


More information about the llvm-commits mailing list