This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add generic opcodes for saturating add/subtract
ClosedPublic

Authored by foad on Mar 23 2020, 5:00 AM.

Details

Summary

Add new generic MIR opcodes G_SADDSAT etc. Add support in IRTranslator
for translating the saturating add/subtract intrinsics to the new
opcodes.

Diff Detail

Event Timeline

foad created this revision.Mar 23 2020, 5:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2020, 5:00 AM
arsenm accepted this revision.Mar 23 2020, 7:52 AM
This revision is now accepted and ready to land.Mar 23 2020, 7:52 AM
This revision was automatically updated to reflect the committed changes.