SDAG: Handle scalarizing an extend of a <1 x iN> vector.
authorJim Grosbach <grosbach@apple.com>
Thu, 7 Mar 2013 05:47:54 +0000 (05:47 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 7 Mar 2013 05:47:54 +0000 (05:47 +0000)
commit34fd0d2b93edb3ddefe5c5766073273f86b23b78
tree64fbf0c2d59c25afe84b15894fca3367a5069fe0
parent218042a02305a3cc38d968a97ff9ecf4b4abe6ff
SDAG: Handle scalarizing an extend of a <1 x iN> vector.

Just scalarize the element and rebuild a vector of the result type
from that.

rdar://13281568

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176614 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.h
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/Thumb2/2013-03-06-vector-sext-operand-scalarize.ll [new file with mode: 0644]