Revert "panfrost/midgard: Use _safe iterator"
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 11 Jul 2019 14:34:01 +0000 (16:34 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 11 Jul 2019 14:53:42 +0000 (16:53 +0200)
This reverts commit 812ce2ce9e5655613eae740926176509897122fa.

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

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
src/panfrost/midgard/midgard_schedule.c

index 3e78020f6d68bd8c3fd4cbc99338ac466b227b43..7a3841e4d44dc6e0001a2e245d40649d7426869d 100644 (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);