HomePhabricator

[TableGen] Include schedule model name in diagnostic.

Description

[TableGen] Include schedule model name in diagnostic.

If you have more than one schedule model in your TableGen target
definitions, then the diagnostic "No schedule information for
instruction 'foo'" is rather unhelpful, because it doesn't tell you
_which_ schedule model is missing the necessary information (or, as it
might be, missing the UnsupportedFeatures definition that would stop
it thinking it needed it).

Extended the message to include the name of the schedule model that
it's complaining about.

Reviewers: nhaehnle, hfinkel, javedabsar, efriedma, javed.absar

Reviewed By: javed.absar

Subscribers: javed.absar, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60559

Details

Committed
stathamApr 15 2019, 3:06 AM
Reviewer
javed.absar
Differential Revision
D60559: [TableGen] Include schedule model name in diagnostic.
Parents
rL358388: [Docs] Correct some indentation muppetry that trips buildbots
Branches
Unknown
Tags
Unknown