llvm-6502/test/MC/SystemZ
Richard Sandiford bfe3212dd8 [SystemZ] Improve AsmParser handling of invalid instructions
Previously, an invalid instruction like:

	foo     %r1, %r0

would generate the rather odd error message:

....: error: unknown token in expression
	foo     %r1, %r0
		^

We now get the more informative:

....: error: invalid instruction
	foo     %r1, %r0
	^

The same would happen if an address were used where a register was expected.
We now get "invalid operand for instruction" instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182644 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-24 14:26:46 +00:00
..
insn-bad.s [SystemZ] Improve AsmParser register parsing 2013-05-24 14:14:38 +00:00
insn-good.s [SystemZ] Make use of SUBTRACT HALFWORD 2013-05-15 15:05:29 +00:00
lit.local.cfg
regs-bad.s [SystemZ] Improve AsmParser handling of invalid instructions 2013-05-24 14:26:46 +00:00
regs-good.s [SystemZ] Consolidate assembler tests into 4 big tests 2013-05-15 09:58:19 +00:00
tokens.s [SystemZ] Improve AsmParser handling of invalid instructions 2013-05-24 14:26:46 +00:00