repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
membarrier.ll
blob
45827ae73ecd79f35ce3a26f9b237b9373b6d419
1
; RUN: llc < %s -mtriple=x86_64-- -mattr=-sse -O0
2
; PR9675
3
4
define i32 @t() {
5
entry:
6
%i = alloca i32, align 4
7
store i32 1, i32* %i, align 4
8
fence seq_cst
9
%0 = atomicrmw sub i32* %i, i32 1 monotonic
10
fence seq_cst
11
ret i32 0
12
}