commit | 896749ca4069103436e1909f7dc348d733d80cd6 | [log] [tgz] |
---|---|---|
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | Wed May 30 14:38:50 2018 +0000 |
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | Wed May 30 14:38:50 2018 +0000 |
tree | 5fd829d10004a80f3aca0407acf9d231dc4e1bd5 | |
parent | 8f367c48d761e82e06b16e437f82b68745762a38 [diff] |
[InstCombine, ARM, AArch64] Convert table lookup to shuffle vector Turning a table lookup intrinsic into a shuffle vector instruction can be beneficial. If the mask used for the lookup is the constant vector {7,6,5,4,3,2,1,0}, then the back-end generates byte reverse instructions instead. Differential Revision: https://reviews.llvm.org/D46133 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333550 91177308-0d34-0410-b5e6-96231b3b80d8