Jan Vesely | f5016b7 | 2018-05-31 04:08:08 +0000 | [diff] [blame] | 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 | |||||
10 | define amdgpu_ps void @test(<4 x float> inreg %reg0) { | ||||
11 | entry: | ||||
12 | ret void | ||||
13 | } |