1; Test the "T" asm constraint, which accepts addresses that have a base,
2; an index and a 20-bit displacement.
3;
4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
5
6define void @f1(i64 %base) {
7; CHECK-LABEL: f1:
8; CHECK: blah 0(%r2)
9; CHECK: br %r14
10  %addr = inttoptr i64 %base to i64 *
11  call void asm "blah $0", "=*T" (i64 *%addr)
12  ret void
13}
14
15; FIXME: at the moment the precise constraint is not passed down to
16; target code, so we must conservatively treat "T" as "Q".
17