llvm-6502/lib/Target/X86/AsmParser
Chris Lattner ce4a3355d9 in the case where an instruction only has one implementation
of a mneumonic, report operand errors with better location
info.  For example, we now report:

t.s:6:14: error: invalid operand for instruction
        cwtl $1
             ^

but we fail for common cases like:

t.s:11:4: error: invalid operand for instruction
   addl $1, $1
   ^

because we don't know if this is supposed to be the reg/imm or imm/reg
form.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113178 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-06 22:11:18 +00:00
..
CMakeLists.txt Update CMake build. 2010-01-23 04:01:37 +00:00
Makefile Fix LLVM build when the user specifies CPPFLAGS on the make command line. 2010-03-12 21:42:14 +00:00
X86AsmLexer.cpp have AsmMatcherEmitter.cpp produce the hunk of code that gets included 2010-09-06 19:11:01 +00:00
X86AsmParser.cpp in the case where an instruction only has one implementation 2010-09-06 22:11:18 +00:00