diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-11-01 22:13:05 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-11-01 22:13:05 +0000 |
commit | 8ec459f49ce4ce0c172481b5be879d293ac941b8 (patch) | |
tree | 6dffb4049a7d0ffd1f7d1d9d06988658da473a95 /lib/TableGen | |
parent | d005962cad83b1821e318d6506351e9cadde2942 (diff) |
[globalisel][regbank] Warn about MIR ambiguities when register bank/class names clash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317132 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/TableGen')
-rw-r--r-- | lib/TableGen/Error.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/TableGen/Error.cpp b/lib/TableGen/Error.cpp index fd089356625..b4830178a26 100644 --- a/lib/TableGen/Error.cpp +++ b/lib/TableGen/Error.cpp @@ -39,6 +39,10 @@ static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, "instantiated from multiclass"); } +void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg) { + PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg); +} + void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg); } |