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: lh %r2, 0(%r2)
8; CHECK: br %r14
9 %val = load atomic i16, i16 *%src seq_cst, align 2
10 ret i16 %val
11}
12