OSDN Git Service

nvir/gm107: iterate over all defs in SchedDataCalculatorGM107::findFirstUse
authorKarol Herbst <kherbst@redhat.com>
Tue, 5 Dec 2017 09:32:25 +0000 (10:32 +0100)
committerKarol Herbst <kherbst@redhat.com>
Mon, 26 Feb 2018 13:41:58 +0000 (14:41 +0100)
commit2f07f823c9e5563156531057f1ea6e24670bba7f
tree95fac96f5451b82d9ce6381f9ab494462ca6d2df
parente05507a427b79e481eb8e45d7aa3c9b4b78376bf
nvir/gm107: iterate over all defs in SchedDataCalculatorGM107::findFirstUse

In the sched data calculator we have to track first use of defs by iterating
over all defs of an instruction, not just the first one.

v2: fix minGRP and maxGRP values

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp