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