[all-commits] [llvm/llvm-project] c544c2: [AMDGPU] Support alloca in AS0

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Apr 21 10:33:49 PDT 2025


  Branch: refs/heads/users/shiltian/amdgpu-alloca-as0
  Home:   https://github.com/llvm/llvm-project
  Commit: c544c2e057f6e4619aeeb64fca6b43a3b11487d7
      https://github.com/llvm/llvm-project/commit/c544c2e057f6e4619aeeb64fca6b43a3b11487d7
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-04-21 (Mon, 21 Apr 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-alloca-as0.ll
    R llvm/test/CodeGen/AMDGPU/assert-wrong-alloca-addrspace.ll

  Log Message:
  -----------
  [AMDGPU] Support alloca in AS0

This PR lowers an alloca in AS0 to an alloca in AS5 followed by an addrspacecast
back to AS0.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list