LLVM Patch to fix #7911

I don't know if anything special needs to be done to get this applied in our various binary distributions, so I'll put is as a pull request here, so the relevant people will notice.