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)
commitd3f2035a3c1e2684a6c91de348b0d0df443608ac
treeffade57690e508ce721e96878d3cd06546b7386d
parent1d812728cc0ddeb69b9f0d3d2d7d29fa4295086f
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

llvm-svn: 187202
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/NVPTX/vector-stores.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/floor-soft-float.ll [new file with mode: 0644]