[RISCV][NFC] Add more constant materialization tests
authorLuís Marques <luismarques@lowrisc.org>
Wed, 6 May 2020 15:04:37 +0000 (16:04 +0100)
committerLuís Marques <luismarques@lowrisc.org>
Wed, 6 May 2020 15:06:16 +0000 (16:06 +0100)
commita3e6e624c71d60509c84e13ea3ee96c0acde65c3
tree00c26b4dc187d8580d3c79e65ff23332def7e06d
parentc355bec749e94c601a42e435f6c98b956f3965ac
[RISCV][NFC] Add more constant materialization tests

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.

Differential Revision: https://reviews.llvm.org/D79453
llvm/test/CodeGen/RISCV/imm.ll
llvm/test/MC/RISCV/rv64i-aliases-valid.s