Page MenuHomePhabricator

AArch64: expand G_DIVREM operations in GlobalISel
ClosedPublic

Authored by t.p.northover on Apr 20 2021, 2:56 AM.

Details

Reviewers
aemerson
paquette
Summary

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

Diff Detail

Event Timeline

t.p.northover created this revision.Apr 20 2021, 2:56 AM
t.p.northover requested review of this revision.Apr 20 2021, 2:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2021, 2:56 AM
paquette added inline comments.Apr 20 2021, 8:54 AM
llvm/test/CodeGen/AArch64/GlobalISel/legalize-divrem.mir
2

Minor nit on the run-line

aemerson accepted this revision.Apr 20 2021, 9:14 AM
This revision is now accepted and ready to land.Apr 20 2021, 9:14 AM
t.p.northover closed this revision.Apr 22 2021, 7:03 AM

Thanks, committed as ac1647cc80 with the suggested change.