1; Test 16-bit atomic stores. 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s 4 5define void @f1(i16 %val, i16 *%src) { 6; CHECK-LABEL: f1: 7; CHECK: sth %r2, 0(%r3) 8; CHECK: bcr 1{{[45]}}, %r0 9; CHECK: br %r14 10 store atomic i16 %val, i16 *%src seq_cst, align 2 11 ret void 12} 13 14define void @f2(i16 %val, i16 *%src) { 15; CHECK-LABEL: f2: 16; CHECK: sth %r2, 0(%r3) 17; CHECK-NOT: bcr 1{{[45]}}, %r0 18; CHECK: br %r14 19 store atomic i16 %val, i16 *%src monotonic, align 2 20 ret void 21} 22