[all-commits] [llvm/llvm-project] 90a36b: AMDGPU/GlobalISel: Legalize 64-bit G_UDIV/G_UREM

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 30 07:57:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90a36bbd7c2cfae76ffe9a914bed32c45715f349
      https://github.com/llvm/llvm-project/commit/90a36bbd7c2cfae76ffe9a914bed32c45715f349
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-30 (Mon, 30 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
    A llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll

  Log Message:
  -----------
  AMDGPU/GlobalISel: Legalize 64-bit G_UDIV/G_UREM

Mostly ported from the DAG version. This results in much worse code
than the DAG version, largely due to a much worse expansion for
G_UMULH.




More information about the All-commits mailing list