mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
TableGen: Display helpfull message for incomplete models.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6e5058d1b
commit
3b1588aa81
@ -1564,8 +1564,14 @@ void CodeGenSchedModels::checkCompleteness() {
|
||||
}
|
||||
HadCompleteModel = true;
|
||||
}
|
||||
if (!Complete)
|
||||
if (!Complete) {
|
||||
errs() << "\n\nIncomplete schedule models found.\n"
|
||||
<< "- Consider setting 'CompleteModel = 0' while developing new models.\n"
|
||||
<< "- Pseudo instructions can be marked with 'hasNoSchedulingInfo = 1'.\n"
|
||||
<< "- Instructions should usually have Sched<[...]> as a superclass, "
|
||||
"you may temporarily use an empty list.\n\n";
|
||||
PrintFatalError("Incomplete schedule model");
|
||||
}
|
||||
}
|
||||
|
||||
// Collect itinerary class resources for each processor.
|
||||
|
Loading…
Reference in New Issue
Block a user