repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
Transforms
/
LowerAtomic
/
barrier.ll
blob
218c5ba8d18e87d7702c9be26540f5c22104aef1
1
; RUN: opt < %s -loweratomic -S | FileCheck %s
2
3
declare void @llvm.memory.barrier(i1 %ll, i1 %ls, i1 %sl, i1 %ss, i1 %device)
4
5
define void @barrier() {
6
; CHECK: @barrier
7
call void @llvm.memory.barrier(i1 0, i1 0, i1 0, i1 0, i1 0)
8
; CHECK-NEXT: ret
9
ret void
10
}