ARM: Creating a vector from a lane of another.
authorJim Grosbach <grosbach@apple.com>
Sat, 2 Mar 2013 20:16:24 +0000 (20:16 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 2 Mar 2013 20:16:24 +0000 (20:16 +0000)
commit7bf504c58fcf1345f0278d6dab3840a45a623965
treebeff2d2d6efbc06f03671dd19a0348745e24f993
parent65da9f1ce14800c137fcd8c32f3ad12c9bebd9bf
ARM: Creating a vector from a lane of another.

The VDUP instruction source register doesn't allow a non-constant lane
index, so make sure we don't construct a ARM::VDUPLANE node asking it to
do so.

rdar://13328063
http://llvm.org/bugs/show_bug.cgi?id=13963

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176413 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/Thumb2/2013-03-02-vduplane-nonconstant-source-index.ll [new file with mode: 0644]