[PATCH] D87836: [ARM]Fold select_cc(vecreduce_[u|s][min|max], x) into VMINV or VMAXV

Sam Tebbs via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 08:19:56 PDT 2020


samtebbs created this revision.
samtebbs added reviewers: samparker, dmgreen, SjoerdMeijer, simon_tatham, olista01, t.p.northover.
Herald added subscribers: llvm-commits, danielkiss, hiraditya, kristof.beyls.
Herald added a project: LLVM.
samtebbs requested review of this revision.

This folds a select_cc of a max or min vector reduction with a scalar value into a VMAXV or VMINV.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87836

Files:
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMISelLowering.h
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-vmaxv-vminv-scalar.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87836.292514.patch
Type: text/x-patch
Size: 10248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200917/47765357/attachment.bin>


More information about the llvm-commits mailing list