[all-commits] [llvm/llvm-project] 15f54d: AMDGPU: Account for usage HIP-style dynamic LDS

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Wed Jan 19 10:06:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15f54dd5e496bcb5ffb8e06020f2046b0ef23c76
      https://github.com/llvm/llvm-project/commit/15f54dd5e496bcb5ffb8e06020f2046b0ef23c76
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-constantexpr-use.ll

  Log Message:
  -----------
  AMDGPU: Account for usage HIP-style dynamic LDS

Disable promote alloca to LDS when HIP-style dynamic LDS since the size
is unknown at compile time.

Patch by: Siu Chi Chan

Reviewed by: Matt Arsenault, Yaxun Liu

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




More information about the All-commits mailing list