We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dda7b74 commit f769899Copy full SHA for f769899
llvm/test/MC/AMDGPU/gfx940_err.s
@@ -0,0 +1,17 @@
1
+// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx940 %s 2>&1 | FileCheck --check-prefix=GFX940 --implicit-check-not=error: %s
2
+
3
+v_mac_f32 v0, v1, v2
4
+// FIXME: error message is incorrect
5
+// GFX940: error: operands are not valid for this GPU or mode
6
7
+v_mad_f32 v0, v1, v2, v3
8
+// GFX940: error: instruction not supported on this GPU
9
10
+v_madak_f32 v0, v1, v2, 0
11
12
13
+v_madmk_f32 v0, v1, 0, v2
14
15
16
+v_mad_legacy_f32 v0, v1, v2, v3
17
0 commit comments