[PATCH] D138424: [TargetLowering][AArch64] Teach DemandedBits about SVE count intrinsics

Benjamin Maxwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 07:51:30 PST 2022


benmxwl-arm updated this revision to Diff 477507.
benmxwl-arm added a comment.

Simplified to use `Subtarget->getMaxSVEVectorSizeInBits()` (which is already based off the `vscale_range()` attribute).

This now depends on https://reviews.llvm.org/D138575 (currently `getMaxSVEVectorSizeInBits()` only checks for `hasSVE()`,
which means it breaks for SME). Until that lands there will be a few test breakages.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138424/new/

https://reviews.llvm.org/D138424

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/test/CodeGen/AArch64/vscale-and-sve-cnt-demandedbits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138424.477507.patch
Type: text/x-patch
Size: 7214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/b4787bdf/attachment.bin>


More information about the llvm-commits mailing list