gallium/radeon: use lp_build_alloca_undef
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 9 Aug 2016 10:26:37 +0000 (12:26 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 17 Aug 2016 10:11:25 +0000 (12:11 +0200)
commitc5798d631492063372eae63f665c791893c52325
treea6ef05beda694cb1910998deb845ec4634c06f74
parent41001ca4bdcb6effe9fd52f6d7db84084b8337a3
gallium/radeon: use lp_build_alloca_undef

Avoid building all those store 0 / store undef instruction pairs that
end up getting removed anyway.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c