blob: 5bbb7e8b103680ce16a57afb2c5ee422fcc1d40f [file] [log] [blame]
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
define void @f(i32* %a, i32 %b, i32 %c) {
; CHECK: invalid cmpxchg failure ordering
%x = cmpxchg i32* %a, i32 %b, i32 %c acq_rel unordered
ret void
}