commit | 3c958d8fea515e69063f78078be8251a1a11d602 | [log] [tgz] |
---|---|---|
author | Alex Bradbury <asb@lowrisc.org> | Tue Sep 18 15:08:35 2018 +0000 |
committer | Alex Bradbury <asb@lowrisc.org> | Tue Sep 18 15:08:35 2018 +0000 |
tree | 92e2094678d92f825b4fa48b30fb0469c48a02f5 | |
parent | cb24b2be15b0b99ca94e6c6df8c1d4c2365ebde4 [diff] |
[RISCV][MC] Tighten up checking of sybol operands to lui and auipc Reject bare symbols and accept only %pcrel_hi(sym) for auipc and %hi(sym) for lui. Also test valid operand modifiers in rv32i-valid.s. Note this is slightly stricter than gas, which will accept either %pcrel_hi or %hi for both lui and auipc. Differential Revision: https://reviews.llvm.org/D51731 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342486 91177308-0d34-0410-b5e6-96231b3b80d8