diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-06 21:54:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-06 21:54:15 +0000 |
commit | a008e8ac73cb3cf2eaf006fbb1b62905c8626758 (patch) | |
tree | 8867189fb700584ffa41f74430dd93849bdc4577 /unittests/Support/ConstantRangeTest.cpp | |
parent | fa0d74d58e6c70ef032afb5f83680276dc4d7370 (diff) |
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
Diffstat (limited to 'unittests/Support/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions