Changes in directory llvm/test/Regression/Transforms/ScalarRepl:
2006-01-24-IllegalUnionPromoteCrash.ll added (r1.1) --- Log message: testcase that crashes scalarrepl --- Diffs of the changes: (+12 -0) 2006-01-24-IllegalUnionPromoteCrash.ll | 12 ++++++++++++ 1 files changed, 12 insertions(+) Index: llvm/test/Regression/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll diff -c /dev/null llvm/test/Regression/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll:1.1 *** /dev/null Tue Jan 24 13:35:08 2006 --- llvm/test/Regression/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll Tue Jan 24 13:34:57 2006 *************** *** 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 + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits