OSDN Git Service

[Power9] Exploit move and splat instructions for build_vector improvement
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 23 Sep 2016 13:25:31 +0000 (13:25 +0000)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Fri, 23 Sep 2016 13:25:31 +0000 (13:25 +0000)
commita04f9019ef9b5003accd57348ceb9fbe7af9f3a2
tree3580d521670666786da14e3d22cec05d90be405a
parente2c1cbe138072e28c6b779bdbc2f19af7ba8d128
[Power9] Exploit move and splat instructions for build_vector improvement

This patch corresponds to review:
https://reviews.llvm.org/D21135

This patch exploits the following instructions:
mtvsrws
lxvwsx
mtvsrdd
mfvsrld

In order to improve some build_vector and extractelement patterns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282246 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrFormats.td
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/power9-moves-and-splats.ll [new file with mode: 0644]
test/CodeGen/PowerPC/ppc64-i128-abi.ll