[PATCH] D52298: [RISCV][MC] Add support for evaluating constant symbols as immediates

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 02:27:04 PDT 2018


asb added a comment.

Thanks Shiva, that seems like a better approach. It also allows for parsing CONST+1 etc. This needs more test coverage though. From an initial look, it seems `lui a0, CONST+1` has a problem when using parsePrimaryExpr that needs investigating further.


Repository:
  rL LLVM

https://reviews.llvm.org/D52298





More information about the llvm-commits mailing list