bolt/deps/llvm-18.1.8/llvm/test/Assembler/opaque-ptr-cmpxchg.ll

8 lines
230 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
; CHECK: compare value and new value type do not match
define void @cmpxchg(ptr %p, i32 %a, i64 %b) {
%val_success = cmpxchg ptr %p, i32 %a, i64 %b acq_rel monotonic
ret void
}