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