This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Supress unused sdwa insts generation
ClosedPublic

Authored by rampitec on Oct 15 2019, 3:31 PM.

Details

Summary

Do not generate non-existing sdwa instructions. It reduces the
number of generated instructions by 175.

Diff Detail

Event Timeline

rampitec created this revision.Oct 15 2019, 3:31 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 15 2019, 3:31 PM
rampitec updated this revision to Diff 225138.Oct 15 2019, 5:07 PM
rampitec edited the summary of this revision. (Show Details)

Added VOPC. This has erased 175 instructions in total.

I haven't looked into the set of instructions that are effected by this, but the TableGen LGTM.

I haven't looked into the set of instructions that are effected by this, but the TableGen LGTM.

Most of the shaved instructions are v_cmpx.

vpykhtin accepted this revision.Oct 16 2019, 9:08 AM

LGTM.

This revision is now accepted and ready to land.Oct 16 2019, 9:08 AM
This revision was automatically updated to reflect the committed changes.