mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
TableGen: Display helpfull message for incomplete models.
llvm-svn: 262399
This commit is contained in:
parent
b264aad2b8
commit
6a33ae7aae
@ -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…
x
Reference in New Issue
Block a user