Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git] / test / MC / AMDGPU / xnack-mask.s
blob08ded06a6b8d29ce10ede3b4e307b408a4577379
1 // RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI %s
3 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=NOSICIVI %s
5 // RUN: not llvm-mc -arch=amdgcn -mcpu=stoney -show-encoding %s 2>&1 | FileCheck -check-prefix=XNACKERR %s
6 // RUN: not llvm-mc -arch=amdgcn -mcpu=stoney -show-encoding %s | FileCheck -check-prefix=XNACK %s
8 s_mov_b64 xnack_mask, -1
9 // NOSICIVI: error: not a valid operand.
10 // XNACK: s_mov_b64 xnack_mask, -1 ; encoding: [0xc1,0x01,0xe8,0xbe]
12 s_mov_b32 xnack_mask_lo, -1
13 // NOSICIVI: error: not a valid operand.
14 // XNACK: s_mov_b32 xnack_mask_lo, -1 ; encoding: [0xc1,0x00,0xe8,0xbe]
16 s_mov_b32 xnack_mask_hi, -1
17 // NOSICIVI: error: not a valid operand.
18 // XNACK: s_mov_b32 xnack_mask_hi, -1 ; encoding: [0xc1,0x00,0xe9,0xbe]
20 s_mov_b32 xnack_mask, -1
21 // NOSICIVI: error: not a valid operand.
22 // XNACKERR: error: invalid operand for instruction
24 s_mov_b64 xnack_mask_lo, -1
25 // NOSICIVI: error: not a valid operand.
26 // XNACKERR: error: invalid operand for instruction
28 s_mov_b64 xnack_mask_hi, -1
29 // NOSICIVI: error: not a valid operand.
30 // XNACKERR: error: invalid operand for instruction