xref: /llvm-project/llvm/test/CodeGen/AMDGPU/verify-gfx12-gds.mir (revision 9e9907f1cfa424366fba58d9520f9305b537cec9)
1# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx1200 -run-pass=none -o /dev/null %s 2>&1 | FileCheck -check-prefix=GFX12 %s
2
3---
4name: gds
5body: |
6  bb.0:
7    ; GFX12: *** Bad machine code: GDS is not supported on this subtarget ***
8    ; GFX12: - instruction: DS_ADD_U32 %0:vgpr_32, %1:vgpr_32, 0, 1, implicit $m0, implicit $exec :: (load store acq_rel (s32), addrspace 2)
9    DS_ADD_U32 %0:vgpr_32, %2:vgpr_32, 0, 1, implicit $m0, implicit $exec :: (load store acq_rel (s32), addrspace 2)
10...
11