- We can still emit this error if the actual instruction has two or more operands missing compared to the expected one.
- We should only emit this error once per instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D36746  
[Asm] Improve "too few operands" errors ClosedPublic Authored by olista01 on Aug 15 2017, 8:23 AM. 
Details Summary 
 
Diff Detail 
 Event Timelineolista01 added a parent revision: D36744: [Asm] Finish matching once end of formal and actual lists reached (NFC).Aug 15 2017, 8:23 AM olista01 added a child revision: D36747: [Asm, ARM] Add fallback diag for multiple invalid operands.Aug 15 2017, 8:26 AM This revision is now accepted and ready to land.Nov 21 2017, 5:23 AM Closed by commit rL318770: [Asm] Improve "too few operands" errors (authored by olista01).  ·  Explain WhyNov 21 2017, 7:17 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 123790 llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 
 llvm/trunk/test/MC/ARM/diagnostics.s
 llvm/trunk/test/MC/ARM/ldrd-strd-gnu-bad-inst.s
 llvm/trunk/test/MC/ARM/thumb-diagnostics.s
 llvm/trunk/test/MC/ARM/thumb2-diagnostics.s
 llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||