[llvm-commits] CVS: llvm/test/Regression/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Jan 24 11:35:10 PST 2006
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
+ }
More information about the llvm-commits
mailing list