OSDN Git Service

Use new vector insert half-word and byte instructions when we see insertelement on...
authorGraham Yiu <gyiu@ca.ibm.com>
Tue, 7 Nov 2017 20:55:43 +0000 (20:55 +0000)
committerGraham Yiu <gyiu@ca.ibm.com>
Tue, 7 Nov 2017 20:55:43 +0000 (20:55 +0000)
commit5363e7a31e700aff3ca68115f6942feec0fbf056
treefee0e594a998b28a1cf92074d18056416fea9b03
parent2725af0410900b7ccceaa751b43113e3e46a8c23
Use new vector insert half-word and byte instructions when we see insertelement on '8 x i16' and '16 x i8' types.  Also extended existing lit testcase to cover these cases.

Differential Revision: https://reviews.llvm.org/D34630

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317613 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/p9-vinsert-vextract.ll