[PATCH] D18592: [PowerPC] Back end improvements to vec_splat
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 08:50:36 PDT 2016
nemanjai updated this revision to Diff 52216.
nemanjai added a comment.
I've changed this around a bit to match an SDAG pattern that will be emitted when lowering vector_shuffle nodes rather than matching an intrinsic. This way, we'll get the FE to emit vector shuffles for splats (in the update to http://reviews.llvm.org/D18593).
Also, since XXSPLTW is a splat, I've added the handling for it to the swap removal pass.
Repository:
rL LLVM
http://reviews.llvm.org/D18592
Files:
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h
lib/Target/PowerPC/PPCInstrInfo.td
lib/Target/PowerPC/PPCInstrVSX.td
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
test/CodeGen/PowerPC/swaps-le-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18592.52216.patch
Type: text/x-patch
Size: 5122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160331/1a093ca1/attachment.bin>
More information about the llvm-commits
mailing list