summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AMDGPU/vopc-errs.s
blob: bc8902f051ad7329c49b010f24ebed3f19495ef2 (plain)
1
2
3
4
5
6
7
8
// RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck %s

// Force 32-bit encoding with non-vcc result

v_cmp_lt_f32_e32 s[0:1], v2, v4
// CHECK: 18: error: invalid operand for instruction
OpenPOWER on IntegriCloud