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 | 339cc7bfef4842f7cbbcd03a8febdb1cc42104c1 (patch) | |
| tree | 4fa292777b268c2126574dca7cf02e017222e92b /llvm/unittests/Support/ConstantRangeTest.cpp | |
| parent | 03483613c2986a61181d08c8719d16790a9ad0b3 (diff) | |
| download | llvm-339cc7bfef4842f7cbbcd03a8febdb1cc42104c1.zip llvm-339cc7bfef4842f7cbbcd03a8febdb1cc42104c1.tar.gz llvm-339cc7bfef4842f7cbbcd03a8febdb1cc42104c1.tar.bz2 | |
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.
llvm-svn: 113178
Diffstat (limited to 'llvm/unittests/Support/ConstantRangeTest.cpp')
0 files changed, 0 insertions, 0 deletions
