[PATCH] D138682: [AArch64][SME]: Generate streaming-compatible code for bit counting/select

hassnaaHamdi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 24 11:38:15 PST 2022


hassnaa-arm created this revision.
hassnaa-arm added reviewers: david-arm, sdesmalen.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
hassnaa-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

To generate code compatible to streaming mode:

- enable custom-lowering ISD::CTLZ and ISD::CTPOP.
- disable combining OR into BSL.

- Testing files:
  - bit-counting.ll
  - bitselect.ll


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138682

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
  llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138682.477829.patch
Type: text/x-patch
Size: 20036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221124/0dc21dab/attachment.bin>


More information about the llvm-commits mailing list