Scalarize before narrowing because the narrowing implementation does not
work on vectors. This matches what we do for regular G_MUL.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D111129
[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
Diff Detail
Event TimelineHerald added subscribers: kerbowa, hiraditya, t-tye and 8 others. · View Herald TranscriptOct 5 2021, 2:42 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 Closed by commit rG9ce4f372067c: [AMDGPU][GlobalISel] Fix legalization of G_UMULH (authored by foad). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 377136 llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulh.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulo.mir
|