[PATCH] D151084: [AArch64][SVE] Add a commutative VSelectCommPredOrPassthruPatFrags

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 05:48:03 PDT 2023


dmgreen created this revision.
dmgreen added reviewers: paulwalker-arm, sdesmalen, david-arm, SjoerdMeijer, efriedma.
Herald added subscribers: psnobl, hiraditya, kristof.beyls, tschuett.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This adds a commutative version of VSelectPredOrPassthruPatFrags (renamed from EitherVSelectOrPassthruPatFrags) that checks both variants for commutative operations like min/max. I have not attempted to handle fp operation that require fast-math flags.


https://reviews.llvm.org/D151084

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-min-max-pred.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151084.524256.patch
Type: text/x-patch
Size: 6007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230522/a6df5069/attachment.bin>


More information about the llvm-commits mailing list