[PATCH] D107711: [DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 22 01:53:48 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGf69fb7ac7226: [DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2) (authored by benshi001).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107711/new/

https://reviews.llvm.org/D107711

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107711.367979.patch
Type: text/x-patch
Size: 9969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210822/04757377/attachment.bin>


More information about the llvm-commits mailing list