[PATCH] D42834: [RISCV] Implement c.lui immedate operand constraint

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 8 00:21:28 PST 2018


asb added a comment.

Ana, can you share the encoded and decoded instruction which causes the qemu crash? This patch shouldn't change the encoding in any way - it should produce the same set of c.lui encodings (all legal), it's just the mapping from logical immediate operand -> encoded form that changes.

I don't have time to check the git version of the spec, but it seems the error in 2.1 is listing c.lui immediate as nzuimm in the long-form definition rather than nzimm.


Repository:
  rL LLVM

https://reviews.llvm.org/D42834





More information about the llvm-commits mailing list