commit | 382877c17c0334a2a6ae89656bdded4d544699ae | [log] [tgz] |
---|---|---|
author | Zi Xuan Wu <wuzish@cn.ibm.com> | Wed Nov 14 02:34:45 2018 +0000 |
committer | Zi Xuan Wu <wuzish@cn.ibm.com> | Wed Nov 14 02:34:45 2018 +0000 |
tree | b58f40c734973572dabbf28d76b5b42e08cfe5ae | |
parent | 7215ab82d4c619b15d464a4f076f4ab33ac3f271 [diff] |
[PowerPC] Enhance the selection(ISD::VSELECT) of vector type To make ISD::VSELECT available(legal) so long as there are altivec instruction, otherwise it's default behavior is expanding, which is legalized at type-legalization phase. Use xxsel to match vselect if vsx is open, or use vsel. Differential Revision: https://reviews.llvm.org/D49531 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346824 91177308-0d34-0410-b5e6-96231b3b80d8