blob: fd42e925f3aa6850ce5b3df8f1d84eee4eddee92 [file] [log] [blame]
Yaxun Liuc00d81e2018-01-30 22:32:39 +00001; RUN: llvm-as -data-layout=A5 < %s | llvm-dis | FileCheck %s
2; RUN: llc -mtriple amdgcn-amd-amdhsa-amdgiz < %s
3; RUN: llvm-as -data-layout=A5 < %s | llc -mtriple amdgcn-amd-amdhsa-amdgiz
4; 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