diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-30 12:20:24 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-31 10:59:18 -0700 |
commit | 29416a85993a7352c7c575e43ffd6a70a7d8e3ef (patch) | |
tree | f6841ab7648cd79dfc19aaca60468276a6ebd168 /src/panfrost/midgard/midgard_schedule.c | |
parent | 3e47a1181b7c5bc962380553c8c99a49a49f45d9 (diff) |
pan/midgard: De-special-case branching
It's not that special.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_schedule.c')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index 62135010d98..e4bc6828127 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -686,8 +686,6 @@ mir_squeeze_index(compiler_context *ctx) ctx->hash_to_temp = _mesa_hash_table_u64_create(NULL); mir_foreach_instr_global(ctx, ins) { - if (ins->compact_branch) continue; - ins->ssa_args.dest = find_or_allocate_temp(ctx, ins->ssa_args.dest); ins->ssa_args.src0 = find_or_allocate_temp(ctx, ins->ssa_args.src0); @@ -808,7 +806,6 @@ schedule_program(compiler_context *ctx) if (!is_special || is_special_w) { mir_foreach_instr_global_safe(ctx, ins) { - if (ins->compact_branch) continue; if (ins->ssa_args.dest != spill_node) continue; midgard_instruction st; @@ -843,8 +840,6 @@ schedule_program(compiler_context *ctx) unsigned consecutive_index = 0; mir_foreach_instr_in_block(block, ins) { - if (ins->compact_branch) continue; - /* We can't rewrite the move used to spill in the first place */ if (ins == spill_move) continue; |