summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/vec-trunc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Avoid scalarization of vector truncateRoland Froese2019-02-111-258/+35
| | | | | | | | The PowerPC code generator currently scalarizes vector truncates that would fit in a vector register, resulting in vector extracts, scalar operations, and vector merges. This patch custom lowers a vector truncate that would fit in a register to a vector shuffle instead. Differential Revision: https://reviews.llvm.org/D56507 llvm-svn: 353724
* [PowerPC] Add vector truncate test to prep for D56507 NFCRoland Froese2019-02-061-0/+420
llvm-svn: 353344
OpenPOWER on IntegriCloud