ac/llvm: consolidate find lsb function.
authorDave Airlie <airlied@redhat.com>
Thu, 26 Oct 2017 05:28:41 +0000 (15:28 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 26 Oct 2017 05:59:31 +0000 (15:59 +1000)
commit82d47b9d38f22bc26001253de7996b9b372e9d0c
treeb9915df61826d3ae184b6ee04244d0be3da68554
parentde2b241111a0d89bf4298cca8f19e9a11b8fdb6c
ac/llvm: consolidate find lsb function.

This was the same between si and ac.

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c
src/gallium/drivers/radeonsi/si_shader_tgsi_alu.c