Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx11_asm_sopk_err.s
blobe7a8db1fa7e325c72bf90ba864ebfd8acf07de95
1 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 %s 2>&1 | FileCheck %s -check-prefix=GFX11 --implicit-check-not=error: --strict-whitespace
3 s_waitcnt_vscnt s0, 0x1234
4 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null
5 // GFX11-NEXT:{{^}}s_waitcnt_vscnt s0, 0x1234
6 // GFX11-NEXT:{{^}} ^
8 s_waitcnt_vmcnt exec_lo, 0x1234
9 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null
10 // GFX11-NEXT:{{^}}s_waitcnt_vmcnt exec_lo, 0x1234
11 // GFX11-NEXT:{{^}} ^
13 s_waitcnt_expcnt vcc_lo, 0x1234
14 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null
15 // GFX11-NEXT:{{^}}s_waitcnt_expcnt vcc_lo, 0x1234
16 // GFX11-NEXT:{{^}} ^
18 s_waitcnt_lgkmcnt m0, 0x1234
19 // GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null
20 // GFX11-NEXT:{{^}}s_waitcnt_lgkmcnt m0, 0x1234
21 // GFX11-NEXT:{{^}} ^