Fix SDISel lowering of PHI nodes to use ComputeValueVTs.
authorDan Gohman <gohman@apple.com>
Mon, 4 Aug 2008 23:42:46 +0000 (23:42 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 4 Aug 2008 23:42:46 +0000 (23:42 +0000)
commit6f498b0a8eeb69a9aa20319e2c803b1d58525547
tree125fb143306b8be7c292fc9a604688577517cad8
parent1f565bcff6781d0a4395b4c386f7168df13ddbca
Fix SDISel lowering of PHI nodes to use ComputeValueVTs.
This allows it to work correctly on aggregate values.
This fixes PR2623.

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