mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
0ce62c1f6a
v2: use "ensureAlignment" make functions cache line aligned Fixes GPU hangs since r333219: "AMDGPU: Split R600 AsmPrinter code into its own class" Differential Revision: https://reviews.llvm.org/D47516 llvm-svn: 333622
14 lines
336 B
LLVM
14 lines
336 B
LLVM
; 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
|
|
}
|