projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add testcase to make sure we don't generate too many jumps for a une compare.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
membarrier.ll
1
; RUN: llc < %s -march=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
}