OSDN Git Service

SDag: fix how initial loads are formed when splitting vector ops.
authorTim Northover <tnorthover@apple.com>
Wed, 25 Jan 2017 20:58:26 +0000 (20:58 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 25 Jan 2017 20:58:26 +0000 (20:58 +0000)
commitd1752d763fd0e8507cba140efff8619422b5ab33
tree9ef5dcbc4814836968171c52620493dc474288c7
parent319afdc534b6e9d9d6e1ac0178f2b63cae01736e
SDag: fix how initial loads are formed when splitting vector ops.

Later code expects the vector loads produced to be directly
concatenable, which means we shouldn't pad anything except the last load
produced with UNDEF.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
test/CodeGen/ARM/vector-load.ll