1 ; Test constant addresses, unlikely as they are.
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
9 %ptr = inttoptr i64 0 to ptr
10 %val = load volatile i8, ptr %ptr
16 ; CHECK: lb %r0, -524288
18 %ptr = inttoptr i64 -524288 to ptr
19 %val = load volatile i8, ptr %ptr
25 ; CHECK-NOT: lb %r0, -524289
27 %ptr = inttoptr i64 -524289 to ptr
28 %val = load volatile i8, ptr %ptr
34 ; CHECK: lb %r0, 524287
36 %ptr = inttoptr i64 524287 to ptr
37 %val = load volatile i8, ptr %ptr
43 ; CHECK-NOT: lb %r0, 524288
45 %ptr = inttoptr i64 524288 to ptr
46 %val = load volatile i8, ptr %ptr