[PATCH] D113281: [AArch64][SVE] Generate ASRD instructions for power of 2 signed divides
Bradley Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 18 07:05:46 PST 2021
bsmith updated this revision to Diff 388193.
bsmith added a comment.
- Rework patch to use instruction selection to match (sdiv (dup <pow2>)) nodes rather than generating asrd nodes
- This allows both larger than legal fixed types to work correctly, as well as sdiv intrinsics.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113281/new/
https://reviews.llvm.org/D113281
Files:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/sve-fixed-length-sdiv-pow2.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-sdiv-pow2.ll
llvm/test/CodeGen/AArch64/sve-sdiv-pow2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113281.388193.patch
Type: text/x-patch
Size: 37085 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211118/f49cebb1/attachment.bin>
More information about the llvm-commits
mailing list