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

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 30 05:25:34 PST 2018


nemanjai updated this revision to Diff 179727.
nemanjai added a comment.

Updated to remove the patterns for the Altivec versions of vector min/max as they have IEEE semantics wrt. handling NaN. A subsequent patch will legalize the `_IEEE` versions of the nodes for single precision and provide patterns to match them to `vmaxfp/vminfp`.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D47332/new/

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.179727.patch
Type: text/x-patch
Size: 12791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181230/2bd4c621/attachment.bin>


More information about the llvm-commits mailing list