diff options
| author | Matt Davis <Matthew.Davis@sony.com> | 2018-06-19 18:39:40 +0000 |
|---|---|---|
| committer | Matt Davis <Matthew.Davis@sony.com> | 2018-06-19 18:39:40 +0000 |
| commit | a245c765a8fe23c689e34acd29f6f8863a1da369 (patch) | |
| tree | 94c9c8994ea7cfe7cbb2cb97104ec6ae52423faf /llvm/lib/CodeGen | |
| parent | 03aa8f3a245e5e7a3aa81617aa4637af33c2213c (diff) | |
| download | bcm5719-llvm-a245c765a8fe23c689e34acd29f6f8863a1da369.tar.gz bcm5719-llvm-a245c765a8fe23c689e34acd29f6f8863a1da369.zip | |
[MIRParser] Update a diagnostic message to use the correct register sigil. NFC
Summary:
Patch r323922 changed the sigil for physical registers to '$', instead of '%'.
An error message was missed during this change, and reports the wrong sigil.
This patch corrects that diagnostic and the tests that check that error string.
Reviewers: zer0, bjope
Reviewed By: bjope
Subscribers: bjope, thegameg, plotfi, llvm-commits
Differential Revision: https://reviews.llvm.org/D48086
llvm-svn: 335066
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MIRParser/MIParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.cpp b/llvm/lib/CodeGen/MIRParser/MIParser.cpp index 3532b42fa64..63e5d4d8e8c 100644 --- a/llvm/lib/CodeGen/MIRParser/MIParser.cpp +++ b/llvm/lib/CodeGen/MIRParser/MIParser.cpp @@ -929,7 +929,7 @@ bool MIParser::verifyImplicitOperands(ArrayRef<ParsedMachineOperand> Operands, continue; return error(Operands.empty() ? Token.location() : Operands.back().End, Twine("missing implicit register operand '") + - printImplicitRegisterFlag(I) + " %" + + printImplicitRegisterFlag(I) + " $" + getRegisterName(TRI, I.getReg()) + "'"); } return false; |

