projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
XCore target: extend tests in preparation
[oota-llvm.git]
/
test
/
CodeGen
/
XCore
/
atomic.ll
1
; RUN: llc < %s -march=xcore | FileCheck %s
2
3
; CHECK-LABEL: atomic_fence
4
; CHECK: #MEMBARRIER
5
; CHECK: #MEMBARRIER
6
; CHECK: #MEMBARRIER
7
; CHECK: #MEMBARRIER
8
; CHECK: retsp 0
9
define void @atomic_fence() nounwind {
10
entry:
11
fence acquire
12
fence release
13
fence acq_rel
14
fence seq_cst
15
ret void
16
}