[all-commits] [llvm/llvm-project] 9aa0ff: [AMDGPU] Enable .rodata for amdpal os

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Fri Aug 14 00:06:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aa0ff77bdc762b70123192d7f0bd3e95bc83788
      https://github.com/llvm/llvm-project/commit/9aa0ff77bdc762b70123192d7f0bd3e95bc83788
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-08-14 (Fri, 14 Aug 2020)

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

  Log Message:
  -----------
  [AMDGPU] Enable .rodata for amdpal os

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

Differential Revision: https://reviews.llvm.org/D85895




More information about the All-commits mailing list