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

Shilei Tian via All-commits all-commits at lists.llvm.org
Mon Apr 21 21:24:23 PDT 2025


  Branch: refs/heads/users/shiltian/amdgpu-alloca-as0
  Home:   https://github.com/llvm/llvm-project
  Commit: 37fc6aaf93dfd7563fc11a382b7ee7b1c5035cd9
      https://github.com/llvm/llvm-project/commit/37fc6aaf93dfd7563fc11a382b7ee7b1c5035cd9
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-04-22 (Tue, 22 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