1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
3 target datalayout = "A1"
4 ; CHECK: target datalayout = "A1"
6 ; CHECK: %alloca_scalar_no_align = alloca i32, addrspace(1)
7 ; CHECK-NEXT: %alloca_scalar_align4 = alloca i32, align 4, addrspace(1)
8 ; CHECK-NEXT: %alloca_scalar_no_align_metadata = alloca i32, addrspace(1), !foo !0
9 ; CHECK-NEXT: %alloca_scalar_align4_metadata = alloca i32, align 4, addrspace(1), !foo !0
10 ; CHECK-NEXT: %alloca_inalloca_scalar_no_align = alloca inalloca i32, addrspace(1)
11 ; CHECK-NEXT: %alloca_inalloca_scalar_align4_metadata = alloca inalloca i32, align 4, addrspace(1), !foo !0
12 define void @use_alloca() {
13 %alloca_scalar_no_align = alloca i32, addrspace(1)
14 %alloca_scalar_align4 = alloca i32, align 4, addrspace(1)
15 %alloca_scalar_no_align_metadata = alloca i32, addrspace(1), !foo !0
16 %alloca_scalar_align4_metadata = alloca i32, align 4, addrspace(1), !foo !0
17 %alloca_inalloca_scalar_no_align = alloca inalloca i32, addrspace(1)
18 %alloca_inalloca_scalar_align4_metadata = alloca inalloca i32, align 4, addrspace(1), !foo !0