blob: 58d8d2f408029deeb2d3f8489023deafd95e5749 [file] [log] [blame]
Yaxun Liuc00d81e2018-01-30 22:32:39 +00001; RUN: llvm-as -data-layout=A5 < %s | llvm-dis | FileCheck %s
Matt Arsenault0da63502018-08-31 05:49:54 +00002; RUN: llc -mtriple amdgcn-amd-amdhsa < %s
3; RUN: llvm-as -data-layout=A5 < %s | llc -mtriple amdgcn-amd-amdhsa
Yaxun Liuc00d81e2018-01-30 22:32:39 +00004; RUN: opt -data-layout=A5 -S < %s
5; RUN: llvm-as -data-layout=A5 < %s | opt -S
6
7; CHECK: %tmp = alloca i32, addrspace(5)
8define amdgpu_kernel void @test() {
9 %tmp = alloca i32, addrspace(5)
10 ret void
11}
12