This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Select G_SDIV, G_UDIV, G_SREM and G_UREM
ClosedPublic

Authored by Petar.Avramovic on Dec 13 2018, 5:30 AM.

Details

Summary

Add support for s64 libcalls for G_SDIV, G_UDIV, G_SREM and G_UREM

and use integer type of correct size when creating arguments for CLI.lowerCall.

Select G_SDIV, G_UDIV, G_SREM and G_UREM for types s8, s16, s32 and s64 on MIPS32.

Diff Detail

Repository
rL LLVM

Event Timeline

This revision is now accepted and ready to land.Dec 18 2018, 7:28 AM
This revision was automatically updated to reflect the committed changes.