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-load-03.ll
1
; Test 32-bit atomic loads.
2
;
3
; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4
5
define i32 @f1(i32 *%src) {
6
; CHECK-LABEL: f1:
7
; CHECK: bcr 1{{[45]}}, %r0
8
; CHECK: l %r2, 0(%r2)
9
; CHECK: br %r14
10
%val = load atomic i32 *%src seq_cst, align 4
11
ret i32 %val
12
}