kparzysz accepted this revision. kparzysz added a comment. This revision is now accepted and ready to land. In the longer term we should probably make the error messages more self-explanatory. Repository: rL LLVM https://reviews.llvm.org/D50592