1 ; RUN: llc -march=amdgcn -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2 ; RUN: llc -march=amdgcn -mcpu=tonga -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
4 ; SI-LABEL: {{^}}infinite_loop:
5 ; SI: v_mov_b32_e32 [[REG:v[0-9]+]], 0x3e7
7 ; SI: buffer_store_dword [[REG]]
8 ; SI: s_waitcnt vmcnt(0) expcnt(0)
10 define void @infinite_loop(i32 addrspace(1)* %out) {
14 for.body: ; preds = %entry, %for.body
15 store i32 999, i32 addrspace(1)* %out, align 4