summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2019-07-11 16:34:01 +0200
committerTomeu Vizoso <[email protected]>2019-07-11 16:53:42 +0200
commit838374b6dd818b6ca09808c4f922d7486ecbd329 (patch)
tree42e9cfeb63c4e72be2076086a58a6780da13f9f1
parent507e297431b9e55ddf3bea4a4039cec4824596a1 (diff)
Revert "panfrost/midgard: Use _safe iterator"
This reverts commit 812ce2ce9e5655613eae740926176509897122fa. We massively regress with the reverted patch. So in the meantime, take it out. Signed-off-by: Tomeu Vizoso <[email protected]>
-rw-r--r--src/panfrost/midgard/midgard_schedule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c
index 3e78020f6d6..7a3841e4d44 100644
--- a/src/panfrost/midgard/midgard_schedule.c
+++ b/src/panfrost/midgard/midgard_schedule.c
@@ -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);