blob: 9bfc01887441b4f70a7b2bd35172b47d85d6f3c8 (
plain)
1
2
3
4
5
6
7
|
; RUN: not llvm-as -opaque-pointers < %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
}
|