Created attachment 139708 [details]
Metal Gear Solid V: The Phantom Pain crashes with the LLVM error mentioned in the title while trying to compile the attached compute shader. This regression was introduced with the addition of 32-bit pointer support:
[36a4d6d08164344cbb4766944b3c45b2b223cf22] radv: add support for 32-bit pointers in user data SGPRs
Tested on Polaris 10 with llvm-svn r333079.
Created attachment 139709 [details]
Compute shader with compacted bindings
As requested, here's the compute shader with the correct binding numbers.
Fixed with https://llvm.org/viewvc/llvm-project?view=revision&revision=340171
I will request a backport for LLVM 7.