Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / SystemZ / fixups-out-of-range-01.s
blob8c189b0a3e7d15f108c52ab76b26aebc9b8f7b7c
1 # RUN: not llvm-mc -triple s390x-unknown-unknown -filetype=obj %s 2>&1 | FileCheck %s
3 .text
5 # CHECK: error: operand out of range (4096 not between 0 and 4095)
6 # CHECK-NEXT: la %r1, b-a(%r1)
7 # CHECK-NEXT: ^
8 la %r1, b-a(%r1)
10 # CHECK-NEXT: error: operand out of range (524288 not between -524288 and 524287)
11 # CHECK-NEXT: lay %r1, d-c(%r1)
12 # CHECK-NEXT: ^
13 lay %r1, d-c(%r1)
15 # CHECK-NOT: error
16 lay %r1, b-a(%r1)
18 .type a,@object
19 .local a
20 .comm a,4096
21 .type b,@object
22 .local b
23 .comm b,4,4
25 .type c,@object
26 .local c
27 .comm c,524288
28 .type d,@object
29 .local d
30 .comm d,4,4