Chris Lattner a008e8ac73 Now that we know if we had a total fail on the instruction mnemonic,
give a more detailed error.  Before:

t.s:11:4: error: unrecognized instruction
   addl $1, $1
   ^
t.s:12:4: error: unrecognized instruction
   f2efqefa $1
   ^

After:

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

This fixes rdar://8017912 - llvm-mc says "unrecognized instruction" when it means "invalid operands"


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113176 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-06 21:54:15 +00:00
..
2010-08-27 21:56:59 +00:00
2010-07-16 23:10:00 +00:00
2010-08-28 03:42:45 +00:00
2010-09-06 02:58:25 +00:00
2010-08-06 01:30:54 +00:00
2010-09-04 17:45:58 +00:00
2010-09-01 15:39:31 +00:00