1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3 target datalayout = "A2"
5 ; CHECK-LABEL: define ptr addrspace(2) @alloca_addrspace_2() {
6 ; CHECK: %alloca = alloca i8, align 1, addrspace(2)
7 define i8 addrspace(2)* @alloca_addrspace_2() {
8 %alloca = alloca i8, addrspace(2)
9 ret i8 addrspace(2)* %alloca
12 ; CHECK-LABEL: define ptr addrspace(5) @alloca_addrspace_5() {
13 ; CHECK: %alloca = alloca i8, align 1, addrspace(5)
14 define i8 addrspace(5)* @alloca_addrspace_5() {
15 %alloca = alloca i8, addrspace(5)
16 ret i8 addrspace(5)* %alloca