diff options
author | Richard Barton <richard.barton@arm.com> | 2012-06-14 10:48:04 +0000 |
---|---|---|
committer | Richard Barton <richard.barton@arm.com> | 2012-06-14 10:48:04 +0000 |
commit | a1c7367a5bed459acc88e3ea2a482b4b5dac942a (patch) | |
tree | f2ba548b8fbaac6fcde2f28896ee48d62ab1a8cd /test | |
parent | efc967e04459753a588ebf5820e526d790fe1cfa (diff) | |
download | external_llvm-a1c7367a5bed459acc88e3ea2a482b4b5dac942a.zip external_llvm-a1c7367a5bed459acc88e3ea2a482b4b5dac942a.tar.gz external_llvm-a1c7367a5bed459acc88e3ea2a482b4b5dac942a.tar.bz2 |
Replace assertion failure for badly formatted CPS instrution with error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/ARM/diagnostics.s | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s index 7da79c3..117c851 100644 --- a/test/MC/ARM/diagnostics.s +++ b/test/MC/ARM/diagnostics.s @@ -315,3 +315,9 @@ @ CHECK-ERRORS: error: coprocessor option must be an immediate in range [0, 255] @ CHECK-ERRORS: ldc2 p2, c8, [r1], { -1 } @ CHECK-ERRORS: ^ + + @ Bad CPS instruction format. + cps f,#1 +@ CHECK-ERRORS: error: invalid operand for instruction +@ CHECK-ERRORS: cps f,#1 +@ CHECK-ERRORS: ^ |