Make codegen able to handle values of empty types. This is one way
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 May 2011 15:18:06 +0000 (15:18 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 13 May 2011 15:18:06 +0000 (15:18 +0000)
commit3fa82837441d716a225427f7a924f36d21db3a32
tree46504366629499f3e15ceeeb776376a7677ee694
parenteea6c95d5d9f202ccb4e90995dc8a4a4c439cec3
Make codegen able to handle values of empty types. This is one way
to fix PR9900. I will keep it open until sable is able to comment on it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131294 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Type.h
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/VMCore/Type.cpp
test/CodeGen/Generic/zero-sized-array.ll [new file with mode: 0644]