[all-commits] [llvm/llvm-project] 8bfc0e: [GlobalISel] Port the udiv -> mul by constant comb...

Amara Emerson via All-commits all-commits at lists.llvm.org
Thu Oct 7 11:37:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8bfc0e06dc85663ba3317da0c7b472260bf27948
      https://github.com/llvm/llvm-project/commit/8bfc0e06dc85663ba3317da0c7b472260bf27948
  Author: Amara Emerson <amara at apple.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

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

  Log Message:
  -----------
  [GlobalISel] Port the udiv -> mul by constant combine.

This is a straight port from the equivalent DAG combine.

Differential Revision: https://reviews.llvm.org/D110890




More information about the All-commits mailing list