[llvm] r309600 - [llc][NFC] Update message in assert.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 31 11:31:04 PDT 2017
Author: qcolombet
Date: Mon Jul 31 11:31:04 2017
New Revision: 309600
URL: http://llvm.org/viewvc/llvm-project?rev=309600&view=rev
Log:
[llc][NFC] Update message in assert.
Modified:
llvm/trunk/tools/llc/llc.cpp
Modified: llvm/trunk/tools/llc/llc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/llc.cpp?rev=309600&r1=309599&r2=309600&view=diff
==============================================================================
--- llvm/trunk/tools/llc/llc.cpp (original)
+++ llvm/trunk/tools/llc/llc.cpp Mon Jul 31 11:31:04 2017
@@ -542,7 +542,7 @@ static int compileModule(char **argv, LL
}
if (MIR) {
- assert(MMI && "addPassesToEmitFile didn't set MMI");
+ assert(MMI && "Forgot to create MMI?");
if (MIR->parseMachineFunctions(*M, *MMI))
return 1;
}
More information about the llvm-commits
mailing list