[all-commits] [llvm/llvm-project] 661bb9: [GlobalISel] Handle div-by-pow2 (#83155)

Shilei Tian via All-commits all-commits at lists.llvm.org
Fri Mar 29 09:42:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 661bb9daae8730868d87b7a3cee6b9ad51e988af
      https://github.com/llvm/llvm-project/commit/661bb9daae8730868d87b7a3cee6b9ad51e988af
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-03-29 (Fri, 29 Mar 2024)

  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
    M llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.sbfe.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i32.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
    M llvm/test/CodeGen/AMDGPU/div_i128.ll

  Log Message:
  -----------
  [GlobalISel] Handle div-by-pow2 (#83155)

This patch adds similar handling of div-by-pow2 as in `SelectionDAG`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list