commit | 5ebd7af2ed1b969550e920caf3392beef1972fd8 | [log] [tgz] |
---|---|---|
author | Kewen Lin <jedilyn@163.com> | Tue Dec 18 03:16:43 2018 +0000 |
committer | Kewen Lin <jedilyn@163.com> | Tue Dec 18 03:16:43 2018 +0000 |
tree | 3d0106f8974a9ab702feab221723e70e9bd1bd53 | |
parent | e0bb219a274b10a6e6453ff8a324130401edcf2f [diff] |
[PowerPC] Improve vec_abs on P9 Improve the current vec_abs support on P9, generate ISD::ABS node for vector types, combine ABS node to VABSD node for some special cases to make use of P9 VABSD* insns, do custom lowering to vsub(vneg later)+vmax if it has no combination opportunity. Differential Revision: https://reviews.llvm.org/D54783 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349437 91177308-0d34-0410-b5e6-96231b3b80d8