Compiler projects using llvm
; REQUIRES: asserts
; RUN: not --crash llc -verify-machineinstrs -mtriple=powerpc-unknown-unknown < %s \
; RUN:   2>&1 | FileCheck %s

declare void @bar(i8*)

define void @foo(i8 %x) {
; CHECK: Unhandled stack size
entry:
  %a = alloca i8, i64 4294967296, align 16
  %b = getelementptr i8, i8* %a, i64 0
  store volatile i8 %x, i8* %b
  ret void
}