projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b259de
)
[AArch64] Remove following .inst/after directive from AsmParser diagnostics
author
Fangrui Song
<i@maskray.me>
Thu, 1 Dec 2022 21:44:03 +0000
(21:44 +0000)
committer
Fangrui Song
<i@maskray.me>
Thu, 1 Dec 2022 21:44:03 +0000
(21:44 +0000)
The part of the diagnostic is not useful because the instruction line is
printed. The new style follows generic code.
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
b/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
index
baec22a
..
08ef71e
100644
(file)
--- a/
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
+++ b/
llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
@@
-7044,8
+7044,7
@@
bool AArch64AsmParser::parseDirectiveInst(SMLoc Loc) {
// ::= .tlsdesccall symbol
bool AArch64AsmParser::parseDirectiveTLSDescCall(SMLoc L) {
StringRef Name;
- if (check(getParser().parseIdentifier(Name), L,
- "expected symbol after directive") ||
+ if (check(getParser().parseIdentifier(Name), L, "expected symbol") ||
parseToken(AsmToken::EndOfStatement))
return true;