Sign in
llvm
/
llvm-project
/
llvm
/
refs/heads/master
/
.
/
test
/
Assembler
/
cmpxchg-ordering-3.ll
blob: 61f2e3e14176585c3c03ca6d0b2dba23eed46634 [
file
] [
log
] [
blame
]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
define
void
@f
(
ptr
%a
,
i32
%b
,
i32
%c
)
{
; CHECK: invalid cmpxchg failure ordering
%x
=
cmpxchg
ptr
%a
,
i32
%b
,
i32
%c
acq_rel
acq_rel
ret
void
}