projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[X86] Add peephole for masked rotate amount
[oota-llvm.git]
/
test
/
CodeGen
/
SystemZ
/
atomic-store-02.ll
1
; Test 16-bit atomic stores.
2
;
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5
define void @f1(i16 %val, i16 *%src) {
6
; CHECK-LABEL: f1:
7
; CHECK: sth %r2, 0(%r3)
8
; CHECK: bcr 1{{[45]}}, %r0
9
; CHECK: br %r14
10
store atomic i16 %val, i16 *%src seq_cst, align 2
11
ret void
12
}