Add a target legalize hook for SplitVectorOperand (again)
authorJustin Holewinski <jholewinski@nvidia.com>
Fri, 26 Jul 2013 13:28:29 +0000 (13:28 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Fri, 26 Jul 2013 13:28:29 +0000 (13:28 +0000)
commit320185fa5f5838b3892962f6e91083e9729cd946
treef7f8866b408f466375b99c6430bb5d88e9b0e6f3
parentc735c1c2aed2cbaeb61296f4269535b5d13d8b0a
Add a target legalize hook for SplitVectorOperand (again)

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

Attempt to fix the buildbots by making the X86 test I just added platform independent

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187202 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]