[all-commits] [llvm/llvm-project] ea9566: GlobalISel: Implement s32->s64 G_FPTOSI lowering

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 30 05:49:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea956685a1974d2ba75dbb5102a8a871b605751b
      https://github.com/llvm/llvm-project/commit/ea956685a1974d2ba75dbb5102a8a871b605751b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.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:
  -----------
  GlobalISel: Implement s32->s64 G_FPTOSI lowering

Port directly from DAG version.

The lowering for G_FPTOUI used to fail on AMDGPU because it uses
G_FPTOSI.




More information about the All-commits mailing list