ac/llvm: remove illegal function attributes READONLY and WRITEONLY
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Dec 2022 09:30:16 +0000 (04:30 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Dec 2022 13:27:16 +0000 (13:27 +0000)
commite94b040add069900bd2aac18e05b219d1be156b5
tree33bb1ac89d3b85f0724a0570ff9e7596bd5e3b75
parent89cd402c9b77231596b79030dd671f880735908b
ac/llvm: remove illegal function attributes READONLY and WRITEONLY

They are only legal on parameters.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20146>
src/amd/llvm/ac_llvm_build.c
src/amd/llvm/ac_llvm_util.c
src/amd/llvm/ac_llvm_util.h
src/amd/llvm/ac_nir_to_llvm.c