ac: add if/loop build helpers
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 6 Mar 2018 23:53:34 +0000 (10:53 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 7 Mar 2018 23:12:34 +0000 (10:12 +1100)
commit42627dabb4db3011825a022325be7ae9b51103d6
tree6979a6bb5e08e581d9ca58b67d81a93fa319a9e7
parentffbf75cde4c5875a6581c997ed5fd57ae8059c9c
ac: add if/loop build helpers

These have been ported over from radeonsi.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c