]> granicus.if.org Git - llvm/commit
Adds code to PPC ISEL lowering to recognize byte inserts from vector_shuffles, and...
authorGraham Yiu <gyiu@ca.ibm.com>
Mon, 6 Nov 2017 20:18:30 +0000 (20:18 +0000)
committerGraham Yiu <gyiu@ca.ibm.com>
Mon, 6 Nov 2017 20:18:30 +0000 (20:18 +0000)
commit20a90ab7468f3609f7b3e8362d6c917832bae168
tree171479b4112a003be0aa7f81e719682e4f41504a
parent561a742524fc0e97f2c9aa5465b85d0e3bb9862c
Adds code to PPC ISEL lowering to recognize byte inserts from vector_shuffles, and use P9 shift and vector insert byte instructions instead of vperm. Extends tests from vector insert half-word.

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

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