Hi, I wrote that NIR pass few weeks ago when I was trying to improve performance with Shadow Of The Tomb Raider, which has a bunch of complex loops.
While this pass doesn't really improve SotTR, it gives a huge boost with DOOM (and probably DOOM VFR), +10% FPS on my Vega 56. I have no ideas why LLVM isn't able to improve that itself, but I think it might good to have this optimization directly in NIR. Please review, Thanks! Samuel Pitoiset (1): nir: add a pass that removes continue blocks src/compiler/nir/nir_opt_if.c | 87 +++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) -- 2.21.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev