This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Allow handling G_MUL with libcalls in LegalizerHelper
ClosedPublic

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

Details

Summary

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
craig.topper closed this revision.Aug 17 2023, 9:59 PM
craig.topper added a subscriber: craig.topper.

This looks to have been done in D130987

Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 9:59 PM