diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-24 14:26:46 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-05-24 14:26:46 +0000 |
commit | dc5ed71353dedc5357982a7708d7909774aebb8b (patch) | |
tree | b7ac991707fc33ad4563fb4fbe3d58e7fe1645a4 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 675f86996afcf245f1dfae588c21ec8dd58f81b1 (diff) | |
download | bcm5719-llvm-dc5ed71353dedc5357982a7708d7909774aebb8b.tar.gz bcm5719-llvm-dc5ed71353dedc5357982a7708d7909774aebb8b.zip |
[SystemZ] Improve AsmParser handling of invalid instructions
Previously, an invalid instruction like:
foo %r1, %r0
would generate the rather odd error message:
....: error: unknown token in expression
foo %r1, %r0
^
We now get the more informative:
....: error: invalid instruction
foo %r1, %r0
^
The same would happen if an address were used where a register was expected.
We now get "invalid operand for instruction" instead.
llvm-svn: 182644
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions