This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][GlobalISel] Fix legalization of G_UMULH
ClosedPublic

Authored by foad on Oct 5 2021, 2:42 AM.

Details

Summary

Scalarize before narrowing because the narrowing implementation does not
work on vectors. This matches what we do for regular G_MUL.

Diff Detail

Event Timeline

foad created this revision.Oct 5 2021, 2:42 AM
foad requested review of this revision.Oct 5 2021, 2:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2021, 2:42 AM
Petar.Avramovic accepted this revision.Oct 5 2021, 2:48 AM
This revision is now accepted and ready to land.Oct 5 2021, 2:48 AM
This revision was landed with ongoing or failed builds.Oct 5 2021, 2:56 AM
This revision was automatically updated to reflect the committed changes.