[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
Tue Aug 10 03:09:58 PDT 2021
benshi001 updated this revision to Diff 365405.
benshi001 retitled this revision from "[RISCV] Optimize (add (mul x, c0), c1)" to "[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)".
benshi001 edited the summary of this revision.
Herald added a subscriber: ecnelises.
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.365405.patch
Type: text/x-patch
Size: 9854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210810/88a7ed41/attachment.bin>
More information about the llvm-commits
mailing list