brintos

brintos / llvm-project-archived public Read only

0
0
Text · 195 B · 61f2e3e Raw
8 lines · plain
1; RUN: not llvm-as < %s 2>&1 | FileCheck %s2 3define void @f(ptr %a, i32 %b, i32 %c) {4; CHECK: invalid cmpxchg failure ordering5  %x = cmpxchg ptr %a, i32 %b, i32 %c acq_rel acq_rel6  ret void7}8