Using one of the failing shaders from the attached R600_debug log, I was able to bisect this to SVN r266378 ("AMDGPU: Run SIFoldOperands after PeepholeOptimizer"). Matt, can you take a look?