[PATCH] D122968: [AArch64][SelectionDAG] Add target-specific implementation of srem
chenglin.bi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 05:52:41 PDT 2022
bcl5980 updated this revision to Diff 422491.
bcl5980 added a comment.
1. refactor visitSDIVLike
2. remove Lg2 == (VT.getScalarSizeInBits() - 1)
3. add srem-pow2.ll, will rebase after D123671 <https://reviews.llvm.org/D123671> land
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122968/new/
https://reviews.llvm.org/D122968
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/test/CodeGen/AArch64/srem-lkk.ll
llvm/test/CodeGen/AArch64/srem-pow2.ll
llvm/test/CodeGen/AArch64/srem-seteq.ll
llvm/test/CodeGen/AArch64/srem-vector-lkk.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122968.422491.patch
Type: text/x-patch
Size: 19647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220413/2c3ff6b6/attachment.bin>
More information about the llvm-commits
mailing list