[ARM] Update ReconstructShuffle to handle mismatched types
authorSilviu Baranga <silviu.baranga@arm.com>
Fri, 7 Aug 2015 11:40:46 +0000 (11:40 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Fri, 7 Aug 2015 11:40:46 +0000 (11:40 +0000)
commit441de0574a7fd95b00ef2e8b27135ccd2a195db6
tree8cd5a0cdc1ff6c793fa5687e50b7305fab2974d1
parentbb8d0fbf02b590074b95094ac773ae5549e623ca
[ARM] Update ReconstructShuffle to handle mismatched types

Summary:
Port the ReconstructShuffle function from AArch64 to ARM
to handle mismatched incoming types in the BUILD_VECTOR
node.

This fixes an outstanding FIXME in the ReconstructShuffle
code.

Reviewers: t.p.northover, rengolin

Subscribers: aemerson, llvm-commits, rengolin

Differential Revision: http://reviews.llvm.org/D11720

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244314 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vtrn.ll
test/CodeGen/ARM/vuzp.ll