efriedma added a comment. Needs a test showing we correctly print the error message for code with calls (with fastisel, globalisel, and sdag isel, for plain calls and runtime library calls like memcpy). https://reviews.llvm.org/D48580