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 <email@example.com>
Date: Fri Aug 19 00:41:59 2016 -0400
nv50/ir: make sure cfg iterator always hits all blocks
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.