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)
commita3c5c769d66f555c11576f981daadf9fbe93a024
tree6e0914c81b6f1d98fc71ecf5b5ea4cfe60272d16
parentc6f1914ef081f0aaab1b29d42305aa664ccfbc23
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

llvm-svn: 176413
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/Thumb2/2013-03-02-vduplane-nonconstant-source-index.ll [new file with mode: 0644]