[Mesa-dev] [PATCH 0/1] nir: new pass that removes continue blocks (+10% FPS with Doom on RADV)

Samuel Pitoiset samuel.pitoiset at gmail.com
Wed Mar 20 10:41:08 UTC 2019


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



More information about the mesa-dev mailing list