[all-commits] [llvm/llvm-project] d3e170: Revert "[AMDGPU] Don’t marke the .note section as ...

searlmc1 via All-commits all-commits at lists.llvm.org
Fri Feb 21 16:08:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d3e170c4388693b6628fa91cbf78506a5fb45439
      https://github.com/llvm/llvm-project/commit/d3e170c4388693b6628fa91cbf78506a5fb45439
  Author: Mark Searles <mark.searles at amd.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
    M llvm/test/CodeGen/AMDGPU/hsa.ll

  Log Message:
  -----------
  Revert "[AMDGPU] Don’t marke the .note section as ALLOC"

This reverts commit 977cd661cf019039dec7ffdd15bf0ac500828c87.

It breaks OpenCL testing. OpenCL Runtime is using PT_LOAD information
to calculate memory for global variables. This commit should be relanded once
the OpenCL runtime stops relying on PT_LOAD information for calculating global
variable memory size.

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




More information about the All-commits mailing list