Page MenuHomePhabricator

[AMDGPU] Combine add and adde, sub and sube
ClosedPublic

Authored by rampitec on Jun 19 2017, 5:14 PM.

Details

Summary

If one of the arguments of adde/sube is zero we can fold another add/sub into it.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Jun 19 2017, 5:14 PM
rampitec updated this revision to Diff 103138.Jun 19 2017, 6:54 PM

Fixed operands in performAddCombine case.

vpykhtin accepted this revision.Jun 20 2017, 3:31 AM

LGTM.

This revision is now accepted and ready to land.Jun 20 2017, 3:31 AM
rampitec updated this revision to Diff 103248.Jun 20 2017, 12:14 PM

Updated to follow parent revision using ADDCARRY/SUBCARRY.

This revision was automatically updated to reflect the committed changes.