[all-commits] [llvm/llvm-project] c06f77: [SelectionDAG] fold 'Op0 - (X * MulC)' to 'Op0 + (...

Pretty-box via All-commits all-commits at lists.llvm.org
Tue Jun 14 22:50:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c06f77ec0d38163a67c26ddf847adc58f82f9672
      https://github.com/llvm/llvm-project/commit/c06f77ec0d38163a67c26ddf847adc58f82f9672
  Author: Ping Deng <Ping.Deng at streamcomputing.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/RISCV/mul.ll

  Log Message:
  -----------
  [SelectionDAG] fold 'Op0 - (X * MulC)' to 'Op0 + (X << log2(-MulC))'

Reviewed By: craig.topper, spatel

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




More information about the All-commits mailing list