[all-commits] [llvm/llvm-project] ee9a0f: [InstCombine] canonicalize urem as cmp+select

Allen via All-commits all-commits at lists.llvm.org
Mon Feb 20 07:53:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee9a0f30ca8a3582d0738f7499ea902e1f713b39
      https://github.com/llvm/llvm-project/commit/ee9a0f30ca8a3582d0738f7499ea902e1f713b39
  Author: zhongyunde <zhongyunde at huawei.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/urem-via-cmp-select.ll

  Log Message:
  -----------
  [InstCombine] canonicalize urem as cmp+select

Fix https://github.com/llvm/llvm-project/issues/60546

Reviewed By: nikic, efriedma, RKSimon, spatel

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




More information about the All-commits mailing list