summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/r600.func-alignment.ll
blob: d8db3061d3741f51441a658bcb33862cf750de95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
; RUN: llc < %s -march=r600 -mcpu=rs880 | FileCheck  %s

; CHECK: .globl test
; Functions need to be cacheline (256B) aligned to prevent GPU hangs
; CHECK: .p2align 8
; CHECK: {{^}}test:
; CHECK: CF_END

define amdgpu_ps void @test(<4 x float> inreg %reg0) {
entry:
  ret void
}
OpenPOWER on IntegriCloud