1; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2; RUN: llc < %s -march=r600 -mcpu=rs880 | FileCheck  %s
3
4; CHECK: .globl test
5; Functions need to be cacheline (256B) aligned to prevent GPU hangs
6; CHECK: .p2align 8
7; CHECK: {{^}}test:
8; CHECK: CF_END
9
10define amdgpu_ps void @test(<4 x float> inreg %reg0) {
11entry:
12  ret void
13}
14