We don't have a specific instruction for these, so they should be expanded to whatever separate division & multiplication is needed.
Diff Detail
Diff Detail
Paths
| Differential D100836
AArch64: expand G_DIVREM operations in GlobalISel ClosedPublic Authored by t.p.northover on Apr 20 2021, 2:56 AM.
Details
Diff Detail Event TimelineHerald added subscribers: danielkiss, hiraditya, kristof.beyls and 2 others. · View Herald TranscriptApr 20 2021, 2:56 AM
This revision is now accepted and ready to land.Apr 20 2021, 9:14 AM
Revision Contents
Diff 338789 llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-divrem.mir
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
|
Minor nit on the run-line