OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
NFC - Various typo fixes in tests
[android-x86/external-llvm.git]
/
test
/
CodeGen
/
SystemZ
/
atomic-load-02.ll
1
; Test 16-bit atomic loads.
2
;
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5
define i16 @f1(i16 *%src) {
6
; CHECK-LABEL: f1:
7
; CHECK: lh %r2, 0(%r2)
8
; CHECK: br %r14
9
%val = load atomic i16 , i16 *%src seq_cst, align 2
10
ret i16 %val
11
}