Add a target legalize hook for SplitVectorOperand
authorJustin Holewinski <jholewinski@nvidia.com>
Fri, 26 Jul 2013 12:46:39 +0000 (12:46 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Fri, 26 Jul 2013 12:46:39 +0000 (12:46 +0000)
commit5a24ed951b7f5e553a7e4e1415da5be247db443e
treeec3d09d4bc6220a277af19bf4a9d4fbbda21086c
parentc223ec731e52534553c13845e3bff913d9a17489
Add a target legalize hook for SplitVectorOperand

CustomLowerNode was not being called during SplitVectorOperand,
meaning custom legalization could not be used by targets.

This also adds a test case for NVPTX that depends on this custom
legalization.

Differential Revision: http://llvm-reviews.chandlerc.com/D1195

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187198 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/NVPTX/vector-stores.ll [new file with mode: 0644]
test/CodeGen/X86/floor-soft-float.ll [new file with mode: 0644]