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