[PATCH] D45683: [mips][msa] Pattern match the splat.d instruction

Stefan Maksimovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 05:48:32 PDT 2018


smaksimovic created this revision.
smaksimovic added a reviewer: sdardis.
Herald added a subscriber: arichardson.

Introduced a new pattern for matching splat.d explicitly.

Both splat.d and splati.d can now be generated from the @llvm.mips.splat.d
intrinsic depending on whether an immediate value has been passed.


https://reviews.llvm.org/D45683

Files:
  lib/Target/Mips/MipsMSAInstrInfo.td
  lib/Target/Mips/MipsSEISelLowering.cpp
  test/CodeGen/Mips/msa/3r_splat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45683.142620.patch
Type: text/x-patch
Size: 6763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180416/6ae03bca/attachment.bin>


More information about the llvm-commits mailing list