[RISCV] Allow parsing of bare symbols with offsets
commit250cc6668a329ad6620ca4fff123f8e3de718558
authorLewis Revill <lewis.revill@embecosm.com>
Fri, 16 Aug 2019 12:00:56 +0000 (16 12:00 +0000)
committerLewis Revill <lewis.revill@embecosm.com>
Fri, 16 Aug 2019 12:00:56 +0000 (16 12:00 +0000)
treedf19c3f2617beac1aee92d751b197ade2c427d47
parent755506e11dfa0c55bf6642b99591ae461f1d7c2e
[RISCV] Allow parsing of bare symbols with offsets

This patch allows symbols followed by an expression for an offset to be
parsed as bare symbols.

Differential Revision: https://reviews.llvm.org/D57332

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369097 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
test/MC/RISCV/rvi-pseudos.s