repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs.
[llvm/zpu.git]
/
test
/
CodeGen
/
Blackfin
/
sync-intr.ll
blob
0b103a3bf77a870c9334162a018e20968a86a1eb
1
; RUN: llc < %s -march=bfin -verify-machineinstrs | FileCheck %s
2
3
define void @f() nounwind {
4
entry:
5
; CHECK-NOT: llvm.bfin
6
; CHECK: csync;
7
call void @llvm.bfin.csync()
8
9
; CHECK-NOT: llvm.bfin
10
; CHECK: ssync;
11
call void @llvm.bfin.ssync()
12
ret void
13
}
14
15
declare void @llvm.bfin.csync() nounwind
16
declare void @llvm.bfin.ssync() nounwind