[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 04:56:40 PST 2022


benmxwl-arm updated this revision to Diff 477466.
benmxwl-arm retitled this revision from " [TargetLowering][AArch64] Teach DemandedBits about SVE count intrinsics" to "[TargetLowering][AArch64] Teach DemandedBits about SVE count intrinsics".
benmxwl-arm edited the summary of this revision.
benmxwl-arm added a comment.

- Moved CNTx intrinsic check into switch
- Now base the MaxElements off VScaleRange if present, otherwise fallback to SVEMaxBitsPerVector
- Switched to Log2_32


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.477466.patch
Type: text/x-patch
Size: 7437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/35f3e560/attachment.bin>


More information about the llvm-commits mailing list