This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel][Mips] Sync G_UADDE and G_USUBE legalization with LegalizeDAG.
ClosedPublic

Authored by craig.topper on Aug 17 2023, 4:39 PM.

Details

Summary

This modifies the G_UADDE to a version that looks shorter on
Mips and RISC-V when feeding the equivalent IR to SelectionDAG.
This also removes the boolean select from G_USUBE.

Comments taken from LegalizeDAG and tweaked.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 17 2023, 4:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 4:39 PM
craig.topper requested review of this revision.Aug 17 2023, 4:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2023, 4:39 PM
Herald added subscribers: wangpc, wdng. · View Herald Transcript
arsenm accepted this revision.Aug 17 2023, 5:03 PM
This revision is now accepted and ready to land.Aug 17 2023, 5:03 PM
This revision was landed with ongoing or failed builds.Aug 17 2023, 8:37 PM
This revision was automatically updated to reflect the committed changes.