8 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3; CHECK: compare value and new value type do not match4define void @cmpxchg(ptr %p, i32 %a, i64 %b) {5 %val_success = cmpxchg ptr %p, i32 %a, i64 %b acq_rel monotonic6 ret void7}8