This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Shrinking V_SUBBREV_U32
ClosedPublic

Authored by rampitec on Feb 23 2018, 2:55 PM.

Details

Summary

V_SUBBREV_U32 is a commute opcode for V_SUBB_U32. However, when
we try to commute V_SUBB_U32 in order to shrink it we do not then
process V_SUBBREV_U32 and it stay VOP3. This is fixed.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.Feb 23 2018, 2:55 PM
This revision is now accepted and ready to land.Feb 23 2018, 3:12 PM
This revision was automatically updated to reflect the committed changes.