diff options
author | Bradley Smith <bradley.smith@arm.com> | 2014-05-12 11:49:16 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2014-05-12 11:49:16 +0000 |
commit | b0b587163d0f186238249501ed3a6e572ac913ef (patch) | |
tree | a237b3c0bcd84ce0d2c448d142e0b2e8b2b0301a /test/MC/ARM64/diags.s | |
parent | 5c39a97a605749c1141894fe0fc2d4e5a0c13de0 (diff) | |
download | llvm-b0b587163d0f186238249501ed3a6e572ac913ef.tar.gz llvm-b0b587163d0f186238249501ed3a6e572ac913ef.tar.bz2 llvm-b0b587163d0f186238249501ed3a6e572ac913ef.tar.xz |
[ARM64] Add proper bounds checking/diagnostics to logical shifts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM64/diags.s')
-rw-r--r-- | test/MC/ARM64/diags.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/MC/ARM64/diags.s b/test/MC/ARM64/diags.s index 9846450b20..c65ced5b5d 100644 --- a/test/MC/ARM64/diags.s +++ b/test/MC/ARM64/diags.s @@ -182,19 +182,19 @@ foo: ; logical instructions on 32-bit regs with shift > 31 is not legal orr w0, w0, w0, lsl #32 -; CHECK-ERRORS: error: shift value out of range +; CHECK-ERRORS: error: expected 'lsl', 'lsr' or 'asr' with optional integer in range [0, 31] ; CHECK-ERRORS: orr w0, w0, w0, lsl #32 ; CHECK-ERRORS: ^ eor w0, w0, w0, lsl #32 -; CHECK-ERRORS: error: shift value out of range +; CHECK-ERRORS: error: expected 'lsl', 'lsr' or 'asr' with optional integer in range [0, 31] ; CHECK-ERRORS: eor w0, w0, w0, lsl #32 ; CHECK-ERRORS: ^ and w0, w0, w0, lsl #32 -; CHECK-ERRORS: error: shift value out of range +; CHECK-ERRORS: error: expected 'lsl', 'lsr' or 'asr' with optional integer in range [0, 31] ; CHECK-ERRORS: and w0, w0, w0, lsl #32 ; CHECK-ERRORS: ^ ands w0, w0, w0, lsl #32 -; CHECK-ERRORS: error: shift value out of range +; CHECK-ERRORS: error: expected 'lsl', 'lsr' or 'asr' with optional integer in range [0, 31] ; CHECK-ERRORS: ands w0, w0, w0, lsl #32 ; CHECK-ERRORS: ^ |