Skip to content

nir: make opt_if_loop_terminator() less strict

Timothy Arceri requested to merge tarceri/mesa:relax_if_opt into master

nir_cf_{extract,reinsert}() can't stitch a block together if the block we are extracting ends in a jump but other jumps nested in further ifs should be fine to move.

This fixes some loop unroll regressions after !4446 (merged)

Merge request reports