Test commit. Removed trailing whitespace.
[oota-llvm.git] / test / CodeGen / SystemZ / atomic-store-03.ll
1 ; Test 32-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 ; Using CS is probably too conservative.
7 define void @f1(i32 %val, i32 *%src) {
8 ; CHECK-LABEL: f1:
9 ; CHECK: l %r0, 0(%r3)
10 ; CHECK: [[LABEL:\.[^:]*]]:
11 ; CHECK: cs %r0, %r2, 0(%r3)
12 ; CHECK: jl [[LABEL]]
13 ; CHECK: br %r14
14   store atomic i32 %val, i32 *%src seq_cst, align 4
15   ret void
16 }