Changes in directory llvm/test/Regression/CodeGen/CBackend:
2007-01-15-NamedArrayType.ll added (r1.1) --- Log message: testcase for PR918: http://llvm.org/PR918 --- Diffs of the changes: (+11 -0) 2007-01-15-NamedArrayType.ll | 11 +++++++++++ 1 files changed, 11 insertions(+) Index: llvm/test/Regression/CodeGen/CBackend/2007-01-15-NamedArrayType.ll diff -c /dev/null llvm/test/Regression/CodeGen/CBackend/2007-01-15-NamedArrayType.ll:1.1 *** /dev/null Tue Jan 16 01:21:38 2007 --- llvm/test/Regression/CodeGen/CBackend/2007-01-15-NamedArrayType.ll Tue Jan 16 01:21:28 2007 *************** *** 0 **** --- 1,11 ---- + ; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3 + ; PR918 + + %structtype_s = type { i32 } + %fixarray_array3 = type [3 x %structtype_s] + + define i32 %witness(%fixarray_array3* %p) { + %q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0 + %v = load i32* %q + ret i32 %v + } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits