[all-commits] [llvm/llvm-project] f69fb7: [DAGCombiner] Add target hook function to decide f...

Ben Shi via All-commits all-commits at lists.llvm.org
Sun Aug 22 01:53:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f69fb7ac7226c68731ad702b4eac6f5706aadbc9
      https://github.com/llvm/llvm-project/commit/f69fb7ac7226c68731ad702b4eac6f5706aadbc9
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-08-22 (Sun, 22 Aug 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/test/CodeGen/RISCV/addimm-mulimm.ll

  Log Message:
  -----------
  [DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)

Reviewed by: lebedev.ri, spatel, craig.topper, luismarques, jrtc27

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




More information about the All-commits mailing list