[llvm-commits] CVS: llvm/test/Regression/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri May 30 00:27:09 PDT 2003
Changes in directory llvm/test/Regression/Transforms/ScalarRepl:
2003-05-30-MultiLevel.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll
diff -c /dev/null llvm/test/Regression/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll:1.1
*** /dev/null Fri May 30 00:26:18 2003
--- llvm/test/Regression/Transforms/ScalarRepl/2003-05-30-MultiLevel.ll Fri May 30 00:26:08 2003
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: as < %s | opt -scalarrepl
+
+ int %test() {
+ %X = alloca { [ 4 x int] }
+ %Y = getelementptr { [ 4 x int] }* %X, long 0, ubyte 0, long 2
+ store int 4, int* %Y
+ %Z = load int* %Y
+ ret int %Z
+ }
More information about the llvm-commits
mailing list