1 // RUN
: not llvm-mc
-arch
=amdgcn
%s
2>&1 | FileCheck
-check-prefix
=GCN
--implicit-check-
not=error
: %s
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tahiti
%s
2>&1 | FileCheck
-check-prefix
=GCN
--implicit-check-
not=error
: %s
3 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tonga
%s
2>&1 | FileCheck
--check-prefixes
=GCN
,VI
--implicit-check-
not=error
: %s
6 // GCN
: error
: invalid operand for instruction
9 // GCN
: error
: invalid operand for instruction
12 // GCN
: error
: invalid register alignment
15 // GCN
: error
: invalid register alignment
18 // GCN
: error
: register index is out of range
21 // GCN
: error
: register index is out of range
24 // GCN
: error
: invalid operand for instruction
27 // GCN
: error
: invalid operand for instruction
29 // FIXME
: This shoudl probably say failed to parse.
31 // GCN
: error
: invalid operand for instruction
32 // Out of range register
35 // VI
: error
: register
not available on this GPU
38 // VI
: error
: register
not available on this GPU
40 s_mov_b64 s
[102:103], -1
41 // VI
: error
: register
not available on this GPU
44 // GCN
: error
: invalid operand for instruction