Can you try this LLVM patch: https://bugs.freedesktop.org/attachment.cgi?id=97522 Make sure you have latest LLVM and Mesa from git.