22 lines · plain
1// RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1100 %s 2>&1 | FileCheck %s -check-prefix=GFX11 --implicit-check-not=error: --strict-whitespace2 3s_waitcnt_vscnt s0, 0x12344// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null5// GFX11-NEXT:{{^}}s_waitcnt_vscnt s0, 0x12346// GFX11-NEXT:{{^}} ^7 8s_waitcnt_vmcnt exec_lo, 0x12349// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null10// GFX11-NEXT:{{^}}s_waitcnt_vmcnt exec_lo, 0x123411// GFX11-NEXT:{{^}} ^12 13s_waitcnt_expcnt vcc_lo, 0x123414// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null15// GFX11-NEXT:{{^}}s_waitcnt_expcnt vcc_lo, 0x123416// GFX11-NEXT:{{^}} ^17 18s_waitcnt_lgkmcnt m0, 0x123419// GFX11: :[[@LINE-1]]:{{[0-9]+}}: error: src0 must be null20// GFX11-NEXT:{{^}}s_waitcnt_lgkmcnt m0, 0x123421// GFX11-NEXT:{{^}} ^22