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