Revert "panfrost/midgard: Use _safe iterator"

This reverts commit 812ce2ce9e.

We massively regress with the reverted patch. So in the meantime, take
it out.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
This commit is contained in:
Tomeu Vizoso 2019-07-11 16:34:01 +02:00
parent 507e297431
commit 838374b6dd

View file

@ -504,7 +504,7 @@ schedule_block(compiler_context *ctx, midgard_block *block)
block->quadword_count = 0;
mir_foreach_instr_in_block_safe(block, ins) {
mir_foreach_instr_in_block(block, ins) {
int skip;
midgard_bundle bundle = schedule_bundle(ctx, block, ins, &skip);
util_dynarray_append(&block->bundles, midgard_bundle, bundle);