[all-commits] [llvm/llvm-project] 00955a: AMDGPU/GlobalISel: Fix SALU mapping for v2s16 min/max
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Feb 21 11:02:26 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 00955a62e4333c7ca889043d6a9033cb8cbf800d
https://github.com/llvm/llvm-project/commit/00955a62e4333c7ca889043d6a9033cb8cbf800d
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-02-21 (Fri, 21 Feb 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smax.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-smin.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umax.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-umin.mir
Log Message:
-----------
AMDGPU/GlobalISel: Fix SALU mapping for v2s16 min/max
The legalizer helper functions are unusably awkward to perform the 3-5
part legalization. This needs to be widened, scalarized, lowered, and
we should avoid creating vector extends and truncates. Manually do all
of this and expand.
More information about the All-commits
mailing list