summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit4e8a512f80cf89e1190c4f541ad87ec1b22ac21d (patch)
tree5ce4008b25d08c9f3da67b37d510887816863c9a /llvm/test/CodeGen/CBackend
parentf611964230a8ba2f736bcbd564420889e8c38201 (diff)
downloadbcm5719-llvm-4e8a512f80cf89e1190c4f541ad87ec1b22ac21d.tar.gz
bcm5719-llvm-4e8a512f80cf89e1190c4f541ad87ec1b22ac21d.zip
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. llvm-svn: 51881
Diffstat (limited to 'llvm/test/CodeGen/CBackend')
-rw-r--r--llvm/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll b/llvm/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
index a9eeff3bffd..42fa0d897f6 100644
--- a/llvm/test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
+++ b/llvm/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]
OpenPOWER on IntegriCloud