8 lines · plain
1; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s2 3; CHECK: error: atomicrmw xchg operand must be an integer, floating point, or pointer type4define <2 x half> @fp_vector_atomicrmw(ptr %x, <2 x half> %val) {5 %atomic.xchg = atomicrmw xchg ptr %x, <2 x half> %val seq_cst6 ret <2 x half> %atomic.xchg7}8