[PATCH] D79453: [RISCV] Add more constant materialization tests

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 16:12:54 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 more constant materialization tests, focusing on cases where we could improve our materialization instruction sequences (particularly for RV64). Various of these cases will be improved upon in follow-up patches.

(The patch also adds some comments in tests which indicate the hexadecimal value of the respective decimal literals, since the larger literals are hard to mentally map to their hex value).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79453

Files:
  llvm/test/CodeGen/RISCV/imm.ll
  llvm/test/MC/RISCV/rv64i-aliases-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79453.262251.patch
Type: text/x-patch
Size: 8675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200505/4f06870d/attachment.bin>


More information about the llvm-commits mailing list