freedreno/ir3: track "keeps" in ir
authorRob Clark <robclark@freedesktop.org>
Sat, 25 Jul 2015 17:51:16 +0000 (13:51 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 27 Jul 2015 17:51:06 +0000 (13:51 -0400)
commit96d4db683f90f02e72d34ece544de7eedfa873ee
tree8b1edb37f083dbcca3776d279e680abdf8a2fe08
parent020301baccc77e5753ead1e890c0cf24a9675517
freedreno/ir3: track "keeps" in ir

Previously we had a fixed array to track kills, since they don't
generate an SSA value, and then cheated by stuffing them in the
outputs array before sending things through depth/sched/etc.  But
store instructions will need similar treatment.  So convert this
over to a more general array of instructions that must be kept
and fix up the places that were previously relying on kills being
in the output array.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/gallium/drivers/freedreno/ir3/ir3_cp.c
src/gallium/drivers/freedreno/ir3/ir3_depth.c