Fix SDISel lowering of zeroinitializer and undef to use ComputeValueVTs.
authorDan Gohman <gohman@apple.com>
Mon, 4 Aug 2008 23:30:41 +0000 (23:30 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 4 Aug 2008 23:30:41 +0000 (23:30 +0000)
commit1f565bcff6781d0a4395b4c386f7168df13ddbca
tree176fd93cbe4f4b7fccc340a16d46deaf35266cb1
parentd0859943ac16389fb843f1357746aade3cd07a6f
Fix SDISel lowering of zeroinitializer and undef to use ComputeValueVTs.
This allows it to work correctly on nested aggregate values.
This fixes PR2625.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/Generic/pr2625.ll [new file with mode: 0644]