1 # RUN: not --crash llc -march=amdgcn -mcpu=tonga -run-pass=machineverifier -o /dev/null %s 2>&1 | FileCheck -check-prefix=GFX8-ERR %s
2 # RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass=machineverifier -o - %s 2>&1 | FileCheck -check-prefix=GFX9 %s
4 # GFX8-ERR: *** Bad machine code: scalar stores must use m0 as offset register ***
5 # GFX9: S_STORE_DWORD_SGPR
7 name: scalar_store_soffset_sgpr
10 S_STORE_DWORD_SGPR undef $sgpr2, undef $sgpr0_sgpr1, undef $sgpr10, 0