[PATCH] D79598: [AArch64][SVE] Add patterns for VSELECT of immediates.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 14:09:16 PDT 2020


efriedma created this revision.
efriedma added reviewers: sdesmalen, fpetrogalli, kmclaughlin.
Herald added subscribers: danielkiss, psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a project: LLVM.

This covers forms involving "CPY (immediate, zeroing)".

This doesn't handle the case where the operands are reversed, and the condition is freely invertible.  Not sure how to handle that.  Maybe a DAGCombine.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79598

Files:
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Target/AArch64/SVEInstrFormats.td
  llvm/test/CodeGen/AArch64/sve-vselect-imm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79598.262756.patch
Type: text/x-patch
Size: 11426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200507/b993ac3f/attachment.bin>


More information about the llvm-commits mailing list