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