[PATCH] D100836: AArch64: expand G_DIVREM operations in GlobalISel

Tim Northover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 02:56:15 PDT 2021


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

We don't have a specific instruction for these, so they should be expanded to whatever separate division & multiplication is needed.


https://reviews.llvm.org/D100836

Files:
  llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/legalize-divrem.mir
  llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100836.338789.patch
Type: text/x-patch
Size: 5619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/3f0da151/attachment.bin>


More information about the llvm-commits mailing list