1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

this produces an undefined result, just check that the alloca is gone

and that sroa doesn't crash.

llvm-svn: 63637
This commit is contained in:
Chris Lattner 2009-02-03 18:13:00 +00:00
parent 87db26ad2c
commit 028861e55b

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | grep {ret i32 undef}
; RUN: llvm-as < %s | opt -scalarrepl -instcombine | llvm-dis | not grep alloca
; Test that an array is not incorrectly deconstructed.