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 | 628fbecf4fbec551a0a7f2360c8bae0ac1881e72 (patch) | |
| tree | d23d2ae3a8bc076b5423b72b79d0e2e55e3ae6a5 /llvm/unittests/Support/ConstantRangeTest.cpp | |
| parent | c0658cbd16e32ce7f092747d1f5d9b4760f0412d (diff) | |
| download | llvm-628fbecf4fbec551a0a7f2360c8bae0ac1881e72.zip llvm-628fbecf4fbec551a0a7f2360c8bae0ac1881e72.tar.gz llvm-628fbecf4fbec551a0a7f2360c8bae0ac1881e72.tar.bz2 | |
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"
llvm-svn: 113176
Diffstat (limited to 'llvm/unittests/Support/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions
