[PATCH] D79689: [RISCV] Add tests for folds of ADDIs into load/stores

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 10 11:10:32 PDT 2020


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

This patch adds tests for folds of ADDIs into load/stores, focusing on load/stores with nonzero offsets.
When the offset is nonzero we currently don't do the fold. A follow-up patch will improve on that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79689

Files:
  llvm/test/CodeGen/RISCV/fold-addi-loadstore.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79689.263076.patch
Type: text/x-patch
Size: 7628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200510/e1244352/attachment.bin>


More information about the llvm-commits mailing list