Page MenuHomePhabricator

[GlobalISel] Allow handling G_MUL with libcalls in LegalizerHelper

Authored by lewis-revill on Feb 1 2022, 7:11 AM.



If we need to handle G_MUL using a libcall (EG in RISC-V when multiplication is not supported), this should be possible using LegalizerHelper. This patch simply adds the missing cases to make sure this is possible.

Diff Detail

Event Timeline

lewis-revill created this revision.Feb 1 2022, 7:11 AM
lewis-revill requested review of this revision.Feb 1 2022, 7:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2022, 7:11 AM
arsenm accepted this revision.Feb 1 2022, 6:22 PM
This revision is now accepted and ready to land.Feb 1 2022, 6:22 PM