Use getVectorTypeBreakdown in FunctionLoweringInfo::CreateRegForValue
authorDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 14:34:07 +0000 (14:34 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Jun 2007 14:34:07 +0000 (14:34 +0000)
commit8c8c5fcbd757b5c44fa7ad9af038a2f2d950b624
treefdf0988c11df4477b1f086e1b944d671865d139c
parent0ce4b8eda323b8f01252d809ff62b0a54bc7a978
Use getVectorTypeBreakdown in FunctionLoweringInfo::CreateRegForValue
to compute the number and type of registers needed for vector values
instead of computing it manually. This fixes PR1529.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37755 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp