xref: /llvm-project/llvm/test/MC/AMDGPU/vopc-errs.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1// RUN: not llvm-mc -triple=amdgcn %s 2>&1 | FileCheck --implicit-check-not=error: %s
2// RUN: not llvm-mc -triple=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck --implicit-check-not=error: %s
3// RUN: not llvm-mc -triple=amdgcn -mcpu=tonga %s 2>&1 | FileCheck --implicit-check-not=error: %s
4
5// Force 32-bit encoding with non-vcc result
6
7v_cmp_lt_f32_e32 s[0:1], v2, v4
8// CHECK: :[[@LINE-1]]:18: error: invalid operand for instruction
9