It's necessary for conformance - not an optimization.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>
* per block is legal semantically */
static void
-midgard_opt_cull_dead_branch(compiler_context *ctx, midgard_block *block)
+midgard_cull_dead_branch(compiler_context *ctx, midgard_block *block)
{
bool branched = false;
* them */
mir_foreach_block(ctx, _block) {
midgard_block *block = (midgard_block *) _block;
- midgard_opt_cull_dead_branch(ctx, block);
+ midgard_cull_dead_branch(ctx, block);
}
/* Ensure we were lowered */