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