[PATCH] D110329: AArch64+GISel: support REM functions for more types.

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 23 06:14:09 PDT 2021


t.p.northover created this revision.
t.p.northover added a reviewer: paquette.
Herald added subscribers: hiraditya, kristof.beyls, mcrosier.
t.p.northover requested review of this revision.
Herald added a project: LLVM.

AArch64 doesn't have a specific remainder function so they should all be expanded to a divide & subtract. I think I've got the type-matrix right, but not 100% sure and I can't really test even the normal types I'd like to (e.g. <8 x i8>) because legalization still fails with some of the fallout.


https://reviews.llvm.org/D110329

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-rem.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110329.374528.patch
Type: text/x-patch
Size: 11998 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210923/1bf6f4ef/attachment.bin>


More information about the llvm-commits mailing list