[PATCH] D136863: [AArch64][SME] Add support for conditional select for svcount.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 10:03:58 PDT 2022


sdesmalen created this revision.
Herald added subscribers: jdoerfert, hiraditya, kristof.beyls.
Herald added a project: All.
sdesmalen requested review of this revision.
Herald added subscribers: llvm-commits, alextsao1999.
Herald added a project: LLVM.

This patch adds codegen support to match a conditional select with svcount
operands.

It also fixes an issue in InstCombineSelect.cpp where it tried to query the
(scalable) size of an aarch64_svcount type.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136863

Files:
  llvm/docs/LangRef.rst
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/CodeGen/AArch64/sme-aarch64-svcount.ll
  llvm/test/Transforms/InstCombine/AArch64/sme-svcount.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136863.471205.patch
Type: text/x-patch
Size: 5934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/f70b4f3c/attachment.bin>


More information about the llvm-commits mailing list