[llvm-commits] CVS: llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Jun 7 16:45:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/LevelRaise:
2003-06-07-EmptyArrayTest.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
diff -c /dev/null llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll:1.1
*** /dev/null Sat Jun 7 16:44:06 2003
--- llvm/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll Sat Jun 7 16:43:56 2003
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: as < %s | opt -raise -disable-output
+
+ %T = type { [0 x ubyte] }
+
+ void %test(%T* %tmp.22) {
+ %tmp.23 = getelementptr %T* %tmp.22, long 0, ubyte 0
+ %tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
+ %tmp.25 = load sbyte** %tmp.24
+ ret void
+ }
More information about the llvm-commits
mailing list