[PATCH] D108871: [AArch64] Implement target hook function to decide folding (mul (add x, c1), c2)

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 28 08:40:10 PDT 2021


benshi001 created this revision.
benshi001 added reviewers: t.p.northover, dmgreen, efriedma, brad, SjoerdMeijer.
Herald added subscribers: steven.zhang, kristof.beyls.
benshi001 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Prevent the folding in DAGCombine if it leads to worse code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108871

Files:
  llvm/test/CodeGen/AArch64/addimm-mulimm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108871.369264.patch
Type: text/x-patch
Size: 4588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210828/eaaef3fd/attachment.bin>


More information about the llvm-commits mailing list