[all-commits] [llvm/llvm-project] 1f9b6e: GlobalISel: Add combine for G_UREM by power of 2

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jan 7 13:36:57 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f9b6ef91ffd8ea487aa083d146c7568e7243457
      https://github.com/llvm/llvm-project/commit/1f9b6ef91ffd8ea487aa083d146c7568e7243457
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-01-07 (Thu, 07 Jan 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    A llvm/test/CodeGen/AMDGPU/GlobalISel/combine-urem-pow-2.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i32.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll

  Log Message:
  -----------
  GlobalISel: Add combine for G_UREM by power of 2

Really I want this in the legalizer, but this is a start.




More information about the All-commits mailing list