radeonsi: use LLVMBuildLoad2 where possible
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 20 Jun 2022 08:14:51 +0000 (10:14 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 08:41:25 +0000 (08:41 +0000)
commitc275e69cee9f90886a32887a60259d24933b7d2f
tree596ed851f217b6d2d0bfe6ee28d2edaf37b3251c
parent940734630de229d98630e4398fd68e95c105177a
radeonsi: use LLVMBuildLoad2 where possible

This commit replaces LLVMBuildLoad usage by LLVMBuildLoad2
where possible (= where the pointee type is known).

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17361>
src/gallium/drivers/radeonsi/gfx10_shader_ngg.c
src/gallium/drivers/radeonsi/si_shader_llvm_gs.c
src/gallium/drivers/radeonsi/si_shader_llvm_vs.c