https://bugs.freedesktop.org/show_bug.cgi?id=56437
--- Comment #13 from Tom Stellard tstellar@gmail.com --- (In reply to comment #12)
Created attachment 69334 [details] Possible fix
This is a strange bug. There must be a race condition somewhere. Does this patch help? If it doesn't, can you reproduce this with an LLVM 3.2 tree:
git fetch git://people.freedesktop.org/~tstellar/llvm master
I should add you need to build the branch of LLVM with --enable-experimental-targets=AMDGPU