Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / VE / data-size-error.s
blobc6188e03631329658eee297bfaf08980678e6ee1
1 # RUN: not llvm-mc -triple=ve -filetype=obj %s -o /dev/null 2>&1 | \
2 # RUN: FileCheck %s
4 .data
5 a:
6 .2byte 0xff5588
7 .4byte 0xff5588aade
8 .8byte 0xff5588aadeadbeafde
9 .byte 0xff55
10 .short 0xff5588
11 .word 0xff5588aaff
12 .int 0xff5588aaff
13 .long 0xff5588aadeadbeafde
14 .quad 0xff5588aadeadbeafde
15 .llong 0xff5588aadeadbeafde
17 # CHECK: data-size-error.s:6:8: error: out of range literal value
18 # CHECK-NEXT: .2byte 0xff5588
19 # CHECK: data-size-error.s:7:8: error: out of range literal value
20 # CHECK-NEXT: .4byte 0xff5588aade
21 # CHECK: data-size-error.s:8:8: error: literal value out of range for directive
22 # CHECK-NEXT: .8byte 0xff5588aadeadbeafde
23 # CHECK: data-size-error.s:9:7: error: out of range literal value
24 # CHECK-NEXT: .byte 0xff55
25 # CHECK: data-size-error.s:10:8: error: out of range literal value
26 # CHECK-NEXT: .short 0xff5588
27 # CHECK: data-size-error.s:11:1: error: value evaluated as 1096651680511 is out of range.
28 # CHECK-NEXT: .word 0xff5588aaff
29 # CHECK: data-size-error.s:12:6: error: out of range literal value
30 # CHECK-NEXT: .int 0xff5588aaff
31 # CHECK: data-size-error.s:13:7: error: literal value out of range for directive
32 # CHECK-NEXT: .long 0xff5588aadeadbeafde
33 # CHECK: data-size-error.s:14:7: error: literal value out of range for directive
34 # CHECK-NEXT: .quad 0xff5588aadeadbeafde
35 # CHECK: data-size-error.s:15:8: error: literal value out of range for directive
36 # CHECK-NEXT: .llong 0xff5588aadeadbeafde
38 # CHECK: [[#@LINE+1]]:17: error: unknown token in expression
39 .word 0xd0bb1e +
41 # CHECK: [[#@LINE+1]]:16: error: unexpected token
42 .long 0xd0bb1e =
44 # CHECK: [[#@LINE+1]]:10: error: unexpected token
45 .llong 2 0xd0bb1e