bolt/deps/llvm-18.1.8/llvm/test/Assembler/cmpxchg-ordering-2.ll

8 lines
197 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; 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 unordered
ret void
}