Add check so we don't try to perform an impossible transformation. Fixes issue from...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 9 Nov 2011 22:25:12 +0000 (22:25 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 9 Nov 2011 22:25:12 +0000 (22:25 +0000)
commit0948f0acca745eef8db6922edfd8836f717396b4
tree5650fb2d39d1efec5a2397026bbfb51078ce7e5e
parent7346347674f03868e8c076c8c27a7f09f0a086c2
Add check so we don't try to perform an impossible transformation. Fixes issue from PR11319.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144216 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/ARM/2011-11-09-BitcastVectorDouble.ll [new file with mode: 0644]