[PATCH] D50046: [RISCV] Add InstAlias definitions for add[w], and, xor, or, sll[w], srl[w], sra[w], slt and sltu with immediate.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 03:08:37 PDT 2018


kito-cheng updated this revision to Diff 158713.
kito-cheng retitled this revision from "[RISCV] Add InstAlias definitions for add, and, xor, or, sll, srl, sra, slt and sltu with immediate" to "[RISCV] Add InstAlias definitions for add[w], and, xor, or,  sll[w], srl[w], sra[w], slt and sltu with immediate.".
kito-cheng added a comment.

Changes:

- Add addw, sllw, srlw and sraw including testcase.
- Add comment in testcase.


https://reviews.llvm.org/D50046

Files:
  lib/Target/RISCV/RISCVInstrInfo.td
  test/MC/RISCV/rv32i-aliases-invalid.s
  test/MC/RISCV/rv64i-aliases-invalid.s
  test/MC/RISCV/rv64i-aliases-valid.s
  test/MC/RISCV/rvi-aliases-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50046.158713.patch
Type: text/x-patch
Size: 6344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180802/d683480b/attachment.bin>


More information about the llvm-commits mailing list