[all-commits] [llvm/llvm-project] beae0e: [AMDGPU] Use a target feature to enable __builtin_...
Juan Manuel Martinez Caamaño via All-commits
all-commits at lists.llvm.org
Wed Apr 2 11:00:31 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: beae0e9f1a7c16e5603e443d51a7155e0c713b04
https://github.com/llvm/llvm-project/commit/beae0e9f1a7c16e5603e443d51a7155e0c713b04
Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
Date: 2025-04-02 (Wed, 02 Apr 2025)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/test/CodeGen/link-builtin-bitcode.c
M clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
R clang/test/CodeGenOpenCL/builtins-amdgcn-gfx942.cl
A clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-lds.cl
R clang/test/SemaOpenCL/builtins-amdgcn-gfx942-err.cl
A clang/test/SemaOpenCL/builtins-amdgcn-global-load-lds-err.cl
M flang/test/Lower/OpenMP/target_cpu_features.f90
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/TargetParser/TargetParser.cpp
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.lds.err.ll
A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.global.load.lds.err.ll
Log Message:
-----------
[AMDGPU] Use a target feature to enable __builtin_amdgcn_global_load_lds on gfx9/10 (#133055)
This patch introduces the `vmem-to-lds-load-insts` target feature, which
can be used to enable builtins `__builtin_amdgcn_global_load_lds` and
`__builtin_amdgcn_raw_ptr_buffer_load_lds` on platforms which have this
feature.
This feature is only available on gfx9/10.
A limitation of using a common target feature for both builtins is that
we could have made `__builtin_amdgcn_raw_ptr_buffer_load_lds` available
on gfx6,7,8.
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