[PATCH] D107710: [RISCV][test] Improve tests for (add (mul x, c0), c1)

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 8 03:01:14 PDT 2021


benshi001 created this revision.
benshi001 added reviewers: craig.topper, luismarques, asb.
Herald added subscribers: vkmr, frasercrmck, evandro, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

Improve tests for future optimization from (add (mul x, c0), c1)
to (mul (add x, c1/c0), c0) if the constants c1 and c0 match
specific conditions.


https://reviews.llvm.org/D107710

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107710.365010.patch
Type: text/x-patch
Size: 7091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210808/1229f7db/attachment.bin>


More information about the llvm-commits mailing list