ac/llvm: simplify how call attributes are set
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Dec 2022 09:23:00 +0000 (04:23 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Dec 2022 13:27:16 +0000 (13:27 +0000)
commit9b4142ae9f29e304f1fd2214ecf1a795b1473d6e
tree7ddee5fd3c0cacdd717d01828da1bafde4d62c0a
parente94b040add069900bd2aac18e05b219d1be156b5
ac/llvm: simplify how call attributes are set

set them directly in ac_build_intrinsic, the only place that sets them

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