testcase that crashes scalarrepl

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-24 19:34:57 +00:00
parent 91cacc810b
commit 720d2108be

View File

@ -0,0 +1,12 @@
; RUN: llvm-as < %s | opt -scalarrepl -disable-output
target endian = big
target pointersize = 32
int %test(long %L) {
%X = alloca int
%Y = cast int* %X to ulong*
store ulong 0, ulong* %Y
%Z = load int *%X
ret int %Z
}