[all-commits] [llvm/llvm-project] fadf3e: [AMDGPU][GlobalISel] Update legalizer for G_ABS, G...
Mirko BrkuĊĦanin via All-commits
all-commits at lists.llvm.org
Wed Aug 2 03:31:02 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fadf3e7f2ba57b49b62cafea0b9b65bbe54c4812
https://github.com/llvm/llvm-project/commit/fadf3e7f2ba57b49b62cafea0b9b65bbe54c4812
Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-abs.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
Log Message:
-----------
[AMDGPU][GlobalISel] Update legalizer for G_ABS, G_SMIN, G_SMAX, G_UMIN, G_UMAX
There is no need to increase the size of odd sized vectors if they are
going to be scalarized by a different rule.
Patch by: Acim Maravic
Differential Revision: https://reviews.llvm.org/D155865
Commit: acdc503d6c51417c0171373ad65f42fc8fcbe5a1
https://github.com/llvm/llvm-project/commit/acdc503d6c51417c0171373ad65f42fc8fcbe5a1
Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
Date: 2023-08-02 (Wed, 02 Aug 2023)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.abs.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-abs.mir
Log Message:
-----------
[AMDGPU][GlobalISel] Update applyMappingImpl for G_ABS and type v2s16
For G_ABS with type v2s16 and sgpr inputs break down into two s32 G_ABS
instructions.
Patch by: Acim Maravic
Differential Revision: https://reviews.llvm.org/D155867
Compare: https://github.com/llvm/llvm-project/compare/e6e9a87534e2...acdc503d6c51
More information about the All-commits
mailing list