diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 2c3e4decc58ed..2d53dc16b70bb 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -251,9 +251,9 @@ CodeGenTarget::CodeGenTarget(RecordKeeper &records) : 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 index 4e532c3716911..77654cbc92fd1 100644 --- a/llvm/utils/TableGen/ExegesisEmitter.cpp +++ b/llvm/utils/TableGen/ExegesisEmitter.cpp @@ -98,9 +98,9 @@ ExegesisEmitter::ExegesisEmitter(RecordKeeper &RK) : 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()); }