blob: 68ffaae1c428d293763a7a74061698b57d6e5fb4 [file] [log] [blame]
Matt Arsenault71b71d22014-02-11 21:12:38 +00001; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2
3; SI-LABEL: @infinite_loop:
Matt Arsenault4d7d3832014-04-15 22:32:49 +00004; SI: V_MOV_B32_e32 [[REG:v[0-9]+]], 0x3e7
Matt Arsenault71b71d22014-02-11 21:12:38 +00005; SI: BB0_1:
6; SI: BUFFER_STORE_DWORD [[REG]]
7; SI: S_WAITCNT vmcnt(0) expcnt(0)
8; SI: S_BRANCH BB0_1
9define void @infinite_loop(i32 addrspace(1)* %out) {
10entry:
11 br label %for.body
12
13for.body: ; preds = %entry, %for.body
14 store i32 999, i32 addrspace(1)* %out, align 4
15 br label %for.body
16}
17