This is an archive of the discontinued LLVM Phabricator instance.

AArch64+GISel: support REM functions for more types.
ClosedPublic

Authored by t.p.northover on Sep 23 2021, 6:14 AM.

Details

Reviewers
paquette
Summary

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.

Diff Detail

Event Timeline

t.p.northover created this revision.Sep 23 2021, 6:14 AM
t.p.northover requested review of this revision.Sep 23 2021, 6:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 23 2021, 6:14 AM
This revision is now accepted and ready to land.Sep 23 2021, 9:14 AM
t.p.northover closed this revision.Oct 5 2021, 2:20 AM

Thanks, pushed as 5f65ee260d78.