[all-commits] [llvm/llvm-project] ba938f: AMDGPU/GlobalISel: Legalize s16->s64 G_FPTOSI/G_FP...
petar-avramovic via All-commits
all-commits at lists.llvm.org
Mon Jul 20 02:06:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ba938f6388ffa632b3781416b7734e0d97cee245
https://github.com/llvm/llvm-project/commit/ba938f6388ffa632b3781416b7734e0d97cee245
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2020-07-20 (Mon, 20 Jul 2020)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir
Log Message:
-----------
AMDGPU/GlobalISel: Legalize s16->s64 G_FPTOSI/G_FPTOUI
Add narrowScalarFor action.
Add narrow scalar for typeIndex == 0 for G_FPTOSI/G_FPTOUI.
Legalize using narrowScalarFor as s16->s32 G_FPTOSI/G_FPTOUI
followed by s32->s64 G_SEXT/G_ZEXT.
Differential Revision: https://reviews.llvm.org/D84010
More information about the All-commits
mailing list