diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 83f5c2709c72..648f74be4ba1 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -542,7 +542,7 @@ static int compileModule(char **argv, LLVMContext &Context) { } if (MIR) { - assert(MMI && "addPassesToEmitFile didn't set MMI"); + assert(MMI && "Forgot to create MMI?"); if (MIR->parseMachineFunctions(*M, *MMI)) return 1; }