https://bugs.freedesktop.org/show_bug.cgi?id=90056
--- Comment #9 from Grigori Goronzy greg@chown.ath.cx --- Created attachment 115409 --> https://bugs.freedesktop.org/attachment.cgi?id=115409&action=edit Full shader
That does not help either. Seems to break the SSA somehow. Full shader that triggers the bug attached.
The patch I posted earlier help with the the reduced testcase, but not with the full shader. Both undef incoming values in phi nodes and undef branch conditions cause problems in different ways.