* Add supprot for SCALAR_TO_VECTOR operations where the input needs to be
authorChris Lattner <sabre@nondot.org>
Tue, 4 Apr 2006 17:23:26 +0000 (17:23 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 4 Apr 2006 17:23:26 +0000 (17:23 +0000)
commit4352cc9e217e4482ad53f5a7b92c3543f569eb6e
treee1b8aa23bc74483d4fae613c65944efb55d22aa7
parentc45420ddd2db5200426fa4d8b9b4edaeffe01cc5
* Add supprot for SCALAR_TO_VECTOR operations where the input needs to be
  promoted/expanded (e.g. SCALAR_TO_VECTOR from i8/i16 on PPC).
* Add support for targets to request that VECTOR_SHUFFLE nodes be promoted
  to a canonical type, for example, we only want v16i8 shuffles on PPC.
* Move isShuffleLegal out of TLI into Legalize.
* Teach isShuffleLegal to allow shuffles that need to be promoted.

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