HomePhabricator

[TableGen] Give meaningful msg for def use in multiclass

Description

[TableGen] Give meaningful msg for def use in multiclass

When one mistakenly specifies 'def' instead of using 'defm',
the error message is quite misleading: 'Couldn't find class..'
Instead, it should recommend using defm if the multiclass of
same name exists.

Reviewed By: hfinkel

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

Details

Committed
javed.absarMar 26 2019, 3:49 AM
Reviewer
hfinkel
Differential Revision
D59294: [TableGen] Give meaningful msg for def use in multiclass
Parents
rL356984: [ARM][Asm] Accept upper case coprocessor number and registers
Branches
Unknown
Tags
Unknown