Mercurial > hg > CbC > CbC_llvm
annotate test/CodeGen/SystemZ/atomic-store-02.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | e4204d083e25 |
rev | line source |
---|---|
0 | 1 ; Test 16-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(i16 %val, i16 *%src) { | |
8 ; CHECK-LABEL: f1: | |
9 ; CHECK: cs | |
10 ; CHECK: br %r14 | |
11 store atomic i16 %val, i16 *%src seq_cst, align 2 | |
12 ret void | |
13 } |