This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add 24-bit mulhi intrinsics in INTRINSIC_WO_CHAIN combine.
ClosedPublic

Authored by abinavpp on Oct 28 2021, 3:56 AM.

Details

Summary

mul24 intrinsic's operands are simplified by
AMDGPUTargetLowering::performIntrinsicWOChainCombine(). This change adds
the mul24hi intrinsics in the combine since its operands can be
simplified like that of the mul24 intrinsics.

Diff Detail

Event Timeline

abinavpp created this revision.Oct 28 2021, 3:56 AM
abinavpp requested review of this revision.Oct 28 2021, 3:56 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2021, 3:56 AM
foad accepted this revision.Oct 28 2021, 4:04 AM

LGTM.

This revision is now accepted and ready to land.Oct 28 2021, 4:04 AM
This revision was landed with ongoing or failed builds.Oct 28 2021, 4:28 AM
This revision was automatically updated to reflect the committed changes.