[all-commits] [llvm/llvm-project] 1c4941: [InstCombine] simplify `(X * C0) / (X * C1)` into ...

Z572 via All-commits all-commits at lists.llvm.org
Wed Dec 13 01:17:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c494198c3f2abc3b10b02e704a0129de74e47d2
      https://github.com/llvm/llvm-project/commit/1c494198c3f2abc3b10b02e704a0129de74e47d2
  Author: Z572 <zhengjunjie at iscas.ac.cn>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/div.ll

  Log Message:
  -----------
  [InstCombine] simplify `(X * C0) / (X * C1)` into `C0 / C1`. (#73204)

fix #72114
proof: https://alive2.llvm.org/ce/z/xqprFm




More information about the All-commits mailing list