Created attachment 124171 [details]
failing tgsi shader
This happens in GRID Autosport, when selecting one of the advanced graphics options (global illumination or the one right next to it). The issue appears to be squarely in nouveau's optimizations.
It looks like we end up deciding that the first while loop can be removed? Or somehow lose track of those BBs? Unclear. This in turn leads to BB:11 being completely lost.
Author: Ilia Mirkin <firstname.lastname@example.org>
Date: Fri Aug 19 00:41:59 2016 -0400
nv50/ir: make sure cfg iterator always hits all blocks
on Feb 28, 2017 at 05:32:12.
(provided by the Example extension).