HomePhabricator

[AMDGPU][GlobalISel] Fix legalization of G_UMULH

Authored by foad on Oct 1 2021, 5:30 AM.

Description

[AMDGPU][GlobalISel] Fix legalization of G_UMULH

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

Differential Revision: https://reviews.llvm.org/D111129