llvm-project/llvm/test/MC/SystemZ
Ivan Kosarev af6b1f797f [AsmParser] Match mandatory operands following optional operands.
Currently, the asm parser stops matching instruction operands as soon as the first optional operand is encountered. This leads to the need for custom checks on missing mandatory operands that come after optional operands.

The patch changes the parser to always match all optional and mandatory instruction operands, thus making the custom checks unnecessary. This is particularly useful for the AMDGPU backend where we have numerous optional instruction modifiers.

Reviewed By: dp

Differential Revision: https://reviews.llvm.org/D137549
2022-11-10 12:48:11 +00:00
..
asm-match.s [AsmParser] Match mandatory operands following optional operands. 2022-11-10 12:48:11 +00:00
directive-insn-vector.s
directive-insn.s
fixups-out-of-range-01.s
fixups-out-of-range-02.s
fixups-zEC12.s
fixups.s [SystemZ] Bugfix for symbolic displacements. 2022-05-22 17:41:36 +02:00
insn-bad-z13.s
insn-bad-z14.s
insn-bad-z15.s
insn-bad-z16.s
insn-bad-z196.s
insn-bad-zEC12.s
insn-bad-zos-z13.s
insn-bad-zos-z14.s
insn-bad-zos-z15.s
insn-bad-zos-z196.s
insn-bad-zos.s
insn-bad.s
insn-good-z13.s
insn-good-z14.s
insn-good-z15.s
insn-good-z16.s
insn-good-z196.s
insn-good-zEC12.s
insn-good-zos-pcrel.s
insn-good.s
invalid-instructions-spellcheck.s
lit.local.cfg
machine-directive.s
regs-bad.s
regs-good.s
reloc-absolute.s
reloc-directive.s
tokens.s
word.s