summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/alloca.ll
blob: 58d8d2f408029deeb2d3f8489023deafd95e5749 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as -data-layout=A5 < %s | llvm-dis | FileCheck %s
; RUN: llc -mtriple amdgcn-amd-amdhsa < %s
; RUN: llvm-as -data-layout=A5 < %s | llc -mtriple amdgcn-amd-amdhsa
; RUN: opt -data-layout=A5 -S < %s
; RUN: llvm-as -data-layout=A5 < %s | opt -S

; CHECK: %tmp = alloca i32, addrspace(5)
define amdgpu_kernel void @test() {
  %tmp = alloca i32, addrspace(5)
  ret void
}

OpenPOWER on IntegriCloud