This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Implement lower for G_SADDO/G_SSUBO
ClosedPublic

Authored by arsenm on Oct 7 2019, 11:00 PM.

Details

Summary

Port directly from SelectionDAG, minus the path using
ISD::SADDSAT/ISD::SSUBSAT.

Diff Detail

Event Timeline

arsenm created this revision.Oct 7 2019, 11:00 PM
volkan accepted this revision.Oct 16 2019, 12:51 PM
volkan added a reviewer: volkan.

LGTM.

test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
39

Nit: empty line

test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
39

Same here

This revision is now accepted and ready to land.Oct 16 2019, 12:52 PM
arsenm closed this revision.Oct 16 2019, 1:49 PM
arsenm marked 2 inline comments as done.

r375042

test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir