diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -251,9 +251,9 @@ : Records(records), CGH(records) { std::vector Targets = Records.getAllDerivedDefinitions("Target"); if (Targets.size() == 0) - PrintFatalError("ERROR: No 'Target' subclasses defined!"); + PrintFatalError("No 'Target' subclasses defined!"); if (Targets.size() != 1) - PrintFatalError("ERROR: Multiple subclasses of Target defined!"); + PrintFatalError("Multiple subclasses of Target defined!"); TargetRec = Targets[0]; } diff --git a/llvm/utils/TableGen/ExegesisEmitter.cpp b/llvm/utils/TableGen/ExegesisEmitter.cpp --- a/llvm/utils/TableGen/ExegesisEmitter.cpp +++ b/llvm/utils/TableGen/ExegesisEmitter.cpp @@ -98,9 +98,9 @@ : Records(RK), PfmCounterNameTable(collectPfmCounters(RK)) { std::vector Targets = Records.getAllDerivedDefinitions("Target"); if (Targets.size() == 0) - PrintFatalError("ERROR: No 'Target' subclasses defined!"); + PrintFatalError("No 'Target' subclasses defined!"); if (Targets.size() != 1) - PrintFatalError("ERROR: Multiple subclasses of Target defined!"); + PrintFatalError("Multiple subclasses of Target defined!"); Target = std::string(Targets[0]->getName()); }