hanchenye-llvm-project/llvm/lib/Target/SystemZ/AsmParser
Richard Sandiford dc5ed71353 [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.

llvm-svn: 182644
2013-05-24 14:26:46 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
SystemZAsmParser.cpp [SystemZ] Improve AsmParser handling of invalid instructions 2013-05-24 14:26:46 +00:00