summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/splat-larger-types-as-v16i8.ll
AgeCommit message (Collapse)Author
2017-08-08[PowerPC] Don't crash on larger splats achieved through 1-byte splatsNemanja Ivanovic
We've implemented a 1-byte splat using XXSPLTISB on P9. However, LLVM will produce a 1-byte splat even for wider element BUILD_VECTOR nodes. This patch prevents crashing in that situation. Differential Revision: https://reviews.llvm.org/D35650 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310358 91177308-0d34-0410-b5e6-96231b3b80d8