This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Extend macro fusion for ADDC and SUBB to SUBBREV
ClosedPublic

Authored by foad on Mar 11 2020, 8:45 AM.

Details

Summary

There's a lot of test case churn but the overall effect is to increase
the number of back-to-back v_sub,v_subbrev pairs, which can execute with
no delay even on gfx10.

Diff Detail

Event Timeline

foad created this revision.Mar 11 2020, 8:45 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2020, 8:45 AM

Could use test in test/CodeGen/AMDGPU/macro-fusion-cluster-vcc-uses.mir

foad updated this revision to Diff 249662.Mar 11 2020, 10:04 AM

Add a test.

arsenm accepted this revision.Mar 11 2020, 10:12 AM
This revision is now accepted and ready to land.Mar 11 2020, 10:12 AM
This revision was automatically updated to reflect the committed changes.