[all-commits] [llvm/llvm-project] dd851d: [SelectionDAG][X86] Fold `sub(x, mul(divrem(x, y)[0...

Iris via All-commits all-commits at lists.llvm.org
Tue Apr 22 02:56:58 PDT 2025


  Branch: refs/heads/users/el-ev/combine-divrem
  Home:   https://github.com/llvm/llvm-project
  Commit: dd851d53f5ee8a4c58606624791fb26fa28053f7
      https://github.com/llvm/llvm-project/commit/dd851d53f5ee8a4c58606624791fb26fa28053f7
  Author: Iris Shi <0.0 at owo.li>
  Date:   2025-04-22 (Tue, 22 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-signed.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll

  Log Message:
  -----------
  [SelectionDAG][X86] Fold `sub(x, mul(divrem(x,y)[0], y))` to `divrem(x, y)[1]`



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