mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
208107dd2c
Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D102745
8 lines
230 B
LLVM
8 lines
230 B
LLVM
; 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
|
|
}
|