1; Test the "m" asm constraint, which is equivalent to "T". 2; Likewise for the "o" asm constraint. 3; 4; RUN: llc < %s -mtriple=s390x-linux-gnu -no-integrated-as | 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 ptr 11 call void asm "blah $0", "=*m" (ptr elementtype(i64) %addr) 12 ret void 13} 14 15define void @f2(i64 %base) { 16; CHECK-LABEL: f2: 17; CHECK: blah 0(%r2) 18; CHECK: br %r14 19 %addr = inttoptr i64 %base to ptr 20 call void asm "blah $0", "=*o" (ptr elementtype(i64) %addr) 21 ret void 22} 23