1; RUN: llc < %s -mtriple=s390x-linux-gnu -debug-only=systemz-isel -o - 2>&1 | \
2; RUN:   FileCheck %s
3
4; REQUIRES: asserts
5;
6; Check that some debug output is printed without problems.
7; CHECK: SystemZAddressingMode
8; CHECK: Base t5: i64,ch = load<(load 8 from %ir.0)>
9; CHECK: Index
10; CHECK: Disp
11
12define void @fun(i64* %ptr) {
13entry:
14  %0 = bitcast i64* %ptr to i32**
15  %1 = load i32*, i32** %0, align 8
16  %xpv_pv = getelementptr inbounds i32, i32* %1
17  store i32 0, i32* %xpv_pv
18  ret void
19}
20