R600/SI: Update concat_vectors.ll to check for scratch usage
[oota-llvm.git] / test / CodeGen / R600 / infinite-loop.ll
1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2
3 ; SI-LABEL: @infinite_loop:
4 ; SI: V_MOV_B32_e32 [[REG:v[0-9]+]], 0x3e7
5 ; SI: BB0_1:
6 ; SI: BUFFER_STORE_DWORD [[REG]]
7 ; SI: S_WAITCNT vmcnt(0) expcnt(0)
8 ; SI: S_BRANCH BB0_1
9 define void @infinite_loop(i32 addrspace(1)* %out) {
10 entry:
11   br label %for.body
12
13 for.body:                                         ; preds = %entry, %for.body
14   store i32 999, i32 addrspace(1)* %out, align 4
15   br label %for.body
16 }
17