ac/radeonsi: port compiler init/destroy out of radeonsi.
authorDave Airlie <airlied@redhat.com>
Mon, 2 Jul 2018 23:51:42 +0000 (09:51 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Jul 2018 00:29:03 +0000 (10:29 +1000)
commitd853d3a59bd5f8720a5b021bcd64a193d370b623
tree2ccdf575546420a285d616f4203254df6faa5997
parent35c82af5399fd5d31572098f7aaf760c1d750dc8
ac/radeonsi: port compiler init/destroy out of radeonsi.

We want to share this code with radv in the future, so port
it out of radeonsi.

Add a return value as radv will want that to know if this
succeeds

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/gallium/drivers/radeonsi/si_pipe.c