This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Remove MUL_LOHI_U24/MUL_LOHI_I24
ClosedPublic

Authored by foad on Oct 19 2020, 9:00 AM.

Details

Summary

These were introduced in r279902 on the grounds that using separate
MUL_U24/MUL_I24 and MULHI_U24/MULHI_I24 nodes would introduce multiple
uses of the operands, which would prevent SimplifyDemandedBits from
simplifying the operands.

This has since been fixed by D24672 "AMDGPU/SI: Use new SimplifyDemandedBits helper for multi-use operations"

No functional change intended. At least it has no effect on lit tests.

Diff Detail

Event Timeline

foad created this revision.Oct 19 2020, 9:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2020, 9:00 AM
foad requested review of this revision.Oct 19 2020, 9:00 AM
arsenm accepted this revision.Oct 19 2020, 9:10 AM
This revision is now accepted and ready to land.Oct 19 2020, 9:10 AM
This revision was automatically updated to reflect the committed changes.