commit | e64dbcb7afbe173aabb390f409c037a78a9ffd74 | [log] [tgz] |
---|---|---|
author | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Sat Jan 20 16:05:10 2018 +0000 |
committer | Jonas Paulsson <paulsson@linux.vnet.ibm.com> | Sat Jan 20 16:05:10 2018 +0000 |
tree | ae1f6d713289a4a899cb5e11c1e2a64c027d0b7b | |
parent | 9188313527c3590c75d9c17a056de904e53aec17 [diff] |
[SelectionDAG] Fix codegen of vector stores with non byte-sized elements. This was completely broken, but hopefully fixed by this patch. In cases where it is needed, a vector with non byte-sized elements is stored by extracting, zero-extending, shift:ing and or:ing the elements into an integer of the same width as the vector, which is then stored. Review: Eli Friedman, Ulrich Weigand https://reviews.llvm.org/D42100#inline-369520 https://bugs.llvm.org/show_bug.cgi?id=35520 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323042 91177308-0d34-0410-b5e6-96231b3b80d8