The first commit helps (but doesn't completely fix, there are still subtle differences from LLVM) https://github.com/daniel-schuermann/mesa/issues/169
The first commit helps (but doesn't completely fix, there are still subtle differences from LLVM) https://github.com/daniel-schuermann/mesa/issues/169