radeonsi: Add debug option to enable LLVM GlobalISel (v2)
authorTom Stellard <tstellar@redhat.com>
Fri, 20 Jul 2018 17:54:56 +0000 (19:54 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 24 Jul 2018 00:23:48 +0000 (20:23 -0400)
commit0866edede0116e33b4bed28737e4d242ad0da2ad
tree8da9f3af24c019124ccb95302b52364082b3ce76
parent820d5e51b7060f02d6c12fbb1c349111022ff37a
radeonsi: Add debug option to enable LLVM GlobalISel (v2)

R600_DEBUG=gisel will tell LLVM to use GlobalISel rather than
SelectionDAG for instruction selection.

v2: mareko: move the helper to src/amd/common

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tom Stellard <tstellar@redhat.com>
src/amd/common/ac_llvm_helper.cpp
src/amd/common/ac_llvm_util.c
src/amd/common/ac_llvm_util.h
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_pipe.h