Sign in
ara-mdk
/
platform
/
external
/
llvm
/
53856be683113838cc112331adca3717d4a520cc
/
.
/
test
/
CodeGen
/
X86
/
membarrier.ll
blob: 5e569aabcadd364e9f12303082789d587225d90c [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=x86-64 -mattr=-sse -O0
; PR9675
define
i32
@t
()
{
entry
:
%i
=
alloca
i32
,
align
4
store
i32
1
,
i32
*
%i
,
align
4
fence
seq_cst
%0
=
atomicrmw
sub
i32
*
%i
,
i32
1
monotonic
fence
seq_cst
ret
i32
0
}