[SystemZ] Add zero-extending high-word loads (LLCH and LLHH)
[oota-llvm.git] / test / CodeGen / SystemZ / atomic-store-01.ll
1 ; Test 8-bit atomic stores.
2 ;
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5 ; This is just a placeholder to make sure that stores are handled.
6 ; The CS-based sequence is probably far too conservative.
7 define void @f1(i8 %val, i8 *%src) {
8 ; CHECK-LABEL: f1:
9 ; CHECK: cs
10 ; CHECK: br %r14
11   store atomic i8 %val, i8 *%src seq_cst, align 1
12   ret void
13 }