Rather than attempting to legalize 1 x float, make sure the SD ISel never
authorNate Begeman <natebegeman@mac.com>
Tue, 22 Nov 2005 01:29:36 +0000 (01:29 +0000)
committerNate Begeman <natebegeman@mac.com>
Tue, 22 Nov 2005 01:29:36 +0000 (01:29 +0000)
commit4ef3b817fee7ea5be7219e00ab8e15976bfe279f
tree37dfe08135d61e46741caaf2a29f305f2fc3befa
parentac2902bcb5568c9a4ff8fe1bbe794f656498ff89
Rather than attempting to legalize 1 x float, make sure the SD ISel never
generates it.  Make MVT::Vector expand-only, and remove the code in
Legalize that attempts to legalize it.

The plan for supporting N x Type is to continually epxand it in ExpandOp
until it gets down to 2 x Type, where it will be scalarized into a pair of
scalars.

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