[all-commits] [llvm/llvm-project] 9ce4f3: [AMDGPU][GlobalISel] Fix legalization of G_UMULH
Jay Foad via All-commits
all-commits at lists.llvm.org
Tue Oct 5 02:56:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ce4f372067c0e2cb5844c4a8e52c8cacd6877c5
https://github.com/llvm/llvm-project/commit/9ce4f372067c0e2cb5844c4a8e52c8cacd6877c5
Author: Jay Foad <jay.foad at amd.com>
Date: 2021-10-05 (Tue, 05 Oct 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulh.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umulo.mir
Log Message:
-----------
[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
More information about the All-commits
mailing list