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 | 466fe399b87e3e9fac2bbe853e2200b4b146a5b3 (patch) | |
tree | 7c22c569f3ded891e026df003f4dcb874fd5033a /llvm/lib | |
parent | cf82cc3d54108c4d67a954a6cf4905c262a65197 (diff) | |
download | bcm5719-llvm-466fe399b87e3e9fac2bbe853e2200b4b146a5b3.tar.gz bcm5719-llvm-466fe399b87e3e9fac2bbe853e2200b4b146a5b3.zip |
[globalisel][regbank] Warn about MIR ambiguities when register bank/class names clash.
llvm-svn: 317132
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/TableGen/Error.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/TableGen/Error.cpp b/llvm/lib/TableGen/Error.cpp index fd089356625..b4830178a26 100644 --- a/llvm/lib/TableGen/Error.cpp +++ b/llvm/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); } |