Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / ScalarRepl / 2006-01-24-IllegalUnionPromoteCrash.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl -disable-output
2
3 target endian = big
4 target pointersize = 32
5
6 int %test(long %L) {
7         %X = alloca int
8         %Y = cast int* %X to ulong*
9         store ulong 0, ulong* %Y
10         %Z = load int *%X
11         ret int %Z
12 }