[all-commits] [llvm/llvm-project] 05289d: [AMDGPU] Handle constant LDS uses from different k...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Jun 7 15:44:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 05289dfb62461b73654c5fd64b1ef044a88ee027
      https://github.com/llvm/llvm-project/commit/05289dfb62461b73654c5fd64b1ef044a88ee027
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPULDSUtils.h
    M llvm/test/CodeGen/AMDGPU/ds_read2.ll
    M llvm/test/CodeGen/AMDGPU/ds_write2.ll
    M llvm/test/CodeGen/AMDGPU/lower-kernel-lds-constexpr.ll
    M llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll

  Log Message:
  -----------
  [AMDGPU] Handle constant LDS uses from different kernels

This allows to lower an LDS variable into a kernel structure
even if there is a constant expression used from different
kernels.

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




More information about the All-commits mailing list