summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-02 21:30:49 +0000
committerDan Gohman <gohman@apple.com>2008-06-02 21:30:49 +0000
commit193c2358507b151ffbca2f0bb6fbfba55b60bdbd (patch)
treecca293bc64c34752b7ac69b201104ea1642dbab7 /test/CodeGen/CBackend
parent34e71fe29d77bb4276fe61d24770be91ef5778ef (diff)
downloadllvm-193c2358507b151ffbca2f0bb6fbfba55b60bdbd.tar.gz
llvm-193c2358507b151ffbca2f0bb6fbfba55b60bdbd.tar.bz2
llvm-193c2358507b151ffbca2f0bb6fbfba55b60bdbd.tar.xz
Implement CBE support for first-class structs and array values,
and insertvalue and extractvalue instructions. First-class array values are not trivial because C doesn't support them. The approach I took here is to wrap all arrays in structs. Feedback is welcome. The 2007-01-15-NamedArrayType.ll test needed to be modified because it has a "not grep" for a string that now exists, because array types now have associated struct types, and those struct types have names. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51881 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll b/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
index a9eeff3bff..42fa0d897f 100644
--- a/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
+++ b/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
@@ -1,5 +1,5 @@
; PR918
-; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3
+; RUN: llvm-as < %s | llc -march=c | not grep {l_structtype_s l_fixarray_array3}
%structtype_s = type { i32 }
%fixarray_array3 = type [3 x %structtype_s]