mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 07:06:05 +00:00
8 lines
197 B
LLVM
8 lines
197 B
LLVM
![]() |
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
||
|
|
||
|
define void @f(i32* %a, i32 %b, i32 %c) {
|
||
|
; CHECK: invalid cmpxchg failure ordering
|
||
|
%x = cmpxchg i32* %a, i32 %b, i32 %c acq_rel acq_rel
|
||
|
ret void
|
||
|
}
|