[PATCH] D47332: [PowerPC] Exploit the vector min/max instructions

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 09:19:14 PDT 2018


nemanjai created this revision.
nemanjai added reviewers: hfinkel, echristo.
Herald added a subscriber: kbarton.

These instructions are significantly faster than the corresponding compare/select code.


Repository:
  rL LLVM

https://reviews.llvm.org/D47332

Files:
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrAltivec.td
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/ctr-minmaxnum.ll
  test/CodeGen/PowerPC/vec-min-max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47332.148430.patch
Type: text/x-patch
Size: 13450 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180524/8d9892a3/attachment.bin>


More information about the llvm-commits mailing list