[all-commits] [llvm/llvm-project] 4bb0c8: AMDGPU: Enable integer division bypass

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Feb 19 14:50:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb0c8f91cb7448ef6de913367f2b46b46392fda
      https://github.com/llvm/llvm-project/commit/4bb0c8f91cb7448ef6de913367f2b46b46392fda
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
    A llvm/test/CodeGen/AMDGPU/bypass-div.ll
    M llvm/test/CodeGen/AMDGPU/sdiv64.ll
    M llvm/test/CodeGen/AMDGPU/sdivrem64.r600.ll
    M llvm/test/CodeGen/AMDGPU/srem64.ll
    M llvm/test/CodeGen/AMDGPU/udiv64.ll
    M llvm/test/CodeGen/AMDGPU/urem64.ll

  Log Message:
  -----------
  AMDGPU: Enable integer division bypass

We probably want this, and I've meant to turn this on for a long
time. SC actually emits a special case to early-out for a 1
denominator, which perhaps should also be considered.




More information about the All-commits mailing list