1; Test 16-bit atomic loads.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5define i16 @f1(i16 *%src) {
6; CHECK-LABEL: f1:
7; CHECK: bcr 1{{[45]}}, %r0
8; CHECK: lh %r2, 0(%r2)
9; CHECK: br %r14
10 %val = load atomic i16 , i16 *%src seq_cst, align 2
11 ret i16 %val
12}
13