[PATCH] D42782: [RISCV] Fix c.addi and c.addi16sp immediate constraints which should be non-zero

Shiva Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 22:12:03 PST 2018


shiva0217 created this revision.
shiva0217 added reviewers: asb, apazos.
Herald added subscribers: niosHD, sabuasal, jordy.potman.lists, simoncook, johnrusso, rbar.

Fix c.addi and c.addi16sp immediate constraints which should be non-zero in the range.


Repository:
  rL LLVM

https://reviews.llvm.org/D42782

Files:
  lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  lib/Target/RISCV/RISCVInstrInfoC.td
  test/MC/RISCV/rv32c-invalid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42782.132327.patch
Type: text/x-patch
Size: 6489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180201/c4045110/attachment.bin>


More information about the llvm-commits mailing list