radeonsi: don't generate "ret void undef"
authorMarek Olšák <marek.olsak@amd.com>
Thu, 9 Jun 2016 00:22:25 +0000 (02:22 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 14 Jun 2016 18:22:16 +0000 (20:22 +0200)
commit8fc688c303135985c2090eceddb5228dbffb74ca
tree3c62d72bb8c0408c1fcf2f2d5c2481d89b99da53
parent4eea710b0d050275b532dbc117da97f569e5fb1e
radeonsi: don't generate "ret void undef"

Use LLVMBuildRetVoid in epilogs and the GS copy shader and
si_llvm_build_ret otherwise.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_shader.c