gallivm: add LLVMAttribute parameter to lp_build_intrinsic
authorMarek Olšák <marek.olsak@amd.com>
Sat, 25 Jul 2015 09:17:48 +0000 (11:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 31 Jul 2015 14:49:16 +0000 (16:49 +0200)
commit0c805b6240769891d55db601f91b8dd84d69d43d
tree4bd4d2a3d785d24dabdd8791cc90bd18a4edd9f0
parent488a83637fe726d445775ee301e42003f749cb9f
gallivm: add LLVMAttribute parameter to lp_build_intrinsic

This will help remove some duplicated code from radeon.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/auxiliary/gallivm/lp_bld_intr.c
src/gallium/auxiliary/gallivm/lp_bld_intr.h
src/gallium/auxiliary/gallivm/lp_bld_logic.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
src/gallium/drivers/r600/r600_llvm.c
src/gallium/drivers/radeonsi/si_shader.c