xref: /llvm-project/llvm/test/CodeGen/ARM/2010-12-17-LocalStackSlotCrash.ll (revision bed1c7f061aa12417aa081e334afdba45767b938)
1; RUN: llc < %s -mtriple=armv6-apple-darwin10
2; <rdar://problem/8782198>
3target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:64-n32"
4target triple = "armv6-apple-darwin10"
5
6define void @func() nounwind optsize {
7entry:
8  %buf = alloca [8096 x i8], align 1
9  br label %bb
10
11bb:
12  store i8 undef, ptr %buf, align 1
13  ret void
14}
15