projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[PPC] Use alias symbols in address computation.
[oota-llvm.git]
/
test
/
CodeGen
/
SystemZ
/
atomic-load-01.ll
1
; Test 8-bit atomic loads.
2
;
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5
define i8 @f1(i8 *%src) {
6
; CHECK-LABEL: f1:
7
; CHECK: bcr 1{{[45]}}, %r0
8
; CHECK: lb %r2, 0(%r2)
9
; CHECK: br %r14
10
%val = load atomic i8 *%src seq_cst, align 1
11
ret i8 %val
12
}