[all-commits] [llvm/llvm-project] d12f2a: GlobalISel: Scalarize all division operations

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Jan 4 11:12:48 PST 2020


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

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sdiv.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-srem.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir

  Log Message:
  -----------
  GlobalISel: Scalarize all division operations

This only handled G_SDIV, but they all are trivially scalarizable.

Also define placeholder AMDGPU division legalizer rules.




More information about the All-commits mailing list