[clang] [flang] [llvm] [AMDGPU] Add "lds-buffer-load-insts" attribute for all targets < gfx11 (PR #133055)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 26 07:01:10 PDT 2025


jmmartinez wrote:

> > Global load lds is available on gfx9 and gfx10.
> > However, the __builtin_amdgcn_global_load_lds builtin is restricted to platforms with the attribute gfx940-insts; while it could be available on gfx90a for example.
> 
> This doesn't sound right, it was new in 940. I also do not see it on gfx10

I saw it on https://github.com/llvm/llvm-project/blob/1b07e865a1f9da64c75cc409a969b108b201fe80/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.load.lds.ll . I haven't went through the docs.

https://github.com/llvm/llvm-project/pull/133055


More information about the llvm-commits mailing list