aboutsummaryrefslogtreecommitdiff
path: root/test/MC/AMDGPU/vop3-errs.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AMDGPU/vop3-errs.s')
-rw-r--r--test/MC/AMDGPU/vop3-errs.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AMDGPU/vop3-errs.s b/test/MC/AMDGPU/vop3-errs.s
new file mode 100644
index 000000000000..b57fe6d5314b
--- /dev/null
+++ b/test/MC/AMDGPU/vop3-errs.s
@@ -0,0 +1,5 @@
+// RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck %s
+// RUN: not llvm-mc -arch=amdgcn -mcpu=SI -show-encoding %s 2>&1 | FileCheck %s
+
+v_add_f32_e64 v0, v1
+// CHECK: error: too few operands for instruction