Implement CBE support for first-class structs and array values,
authorDan Gohman <gohman@apple.com>
Mon, 2 Jun 2008 21:30:49 +0000 (21:30 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 2 Jun 2008 21:30:49 +0000 (21:30 +0000)
commit193c2358507b151ffbca2f0bb6fbfba55b60bdbd
treecca293bc64c34752b7ac69b201104ea1642dbab7
parent34e71fe29d77bb4276fe61d24770be91ef5778ef
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
lib/Target/CBackend/CBackend.cpp
test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll