https://bugs.freedesktop.org/show_bug.cgi?id=98776
--- Comment #3 from Daniel Scharrer daniel@constexpr.org --- Reverting LLVM r286766 "AMDGPU: Implement SGPR spilling with scalar stores" (while not reverting anything in Mesa) also fixes the glitches.