1 ; RUN: not llvm-as -disable-output %s 2>&1 | FileCheck %s
3 ; CHECK: error: atomicrmw xchg operand must be an integer, floating point, or pointer type
4 define <2 x half> @fp_vector_atomicrmw(ptr %x, <2 x half> %val) {
5 %atomic.xchg = atomicrmw xchg ptr %x, <2 x half> %val seq_cst
6 ret <2 x half> %atomic.xchg